This article was written for Page Builder Sandwich 5 or earlier. Page Builder Sandwich 6 is a new block builder, so some steps and screens here may differ. Getting started with version 6
pbs_enqueue_scripts
Enqueue a script or style alongside PBS. This is called only when the post is editable with PBS. When the page isn’t editable with PBS, then this isn’t used at all.
Parameters
None.
Example
When PBS loads, also enqueue my-script.js
add_action( 'pbs_enqueue_scripts, 'add_my_script' );
function add_my_script() {
wp_enqueue_script( 'my-script' , plugins_url( 'js/my-script.js', __FILE__ ) );
}