WordPress action hook
BeRocket_wizard_javascript
Fired by 3 WordPress plugins, running on 60K+ sites between them.
How to use BeRocket_wizard_javascript
It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'BeRocket_wizard_javascript', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );Argument names come from Advanced AJAX Product Filters's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
3 plugins that fire BeRocket_wizard_javascript
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Advanced AJAX Product Filters50,000+ installs
do_action( 'BeRocket_wizard_javascript', array() )includes/wizard.php:77 -
Load More Products for WooCommerce10,000+ installs
do_action( 'BeRocket_wizard_javascript', array( 'creating_products' => __('Creating products', 'BeRocket_LMP_domain'), 'getting_selectors' => __('Gettings selectors', 'BeRocket_LMP_domain'), 'removing_products' => __('Removing products', 'BeRocket_LMP_domain'), 'error' => __('Error:', 'BeRocket_LMP_domain') ) )main.php:1290 -
Splash Popup for WooCommerce30+ installs
do_action( 'BeRocket_wizard_javascript' )addons/deprecated_old_popup/popup.php:176
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.