pbs.init

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.init

Called when the PBS editor finishes loading (not called when the user clicks on the start editing button)

Example

Do something after PBS loads

wp.hooks.addAction( 'pbs.init', function() {
	console.log( 'PBS is ready!' );
}