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!' );
}

Still need help? Contact Us Contact Us