WordPress action hook

butterbean_enqueue_scripts

Fired by 9 WordPress plugins, running on 510K+ sites between them.

How to use butterbean_enqueue_scripts

It's an action: your callback runs at that point. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'butterbean_enqueue_scripts', function() {
	// Your code runs here.
}, 10, 1 );

Argument names come from Ocean Extra's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

9 plugins that fire butterbean_enqueue_scripts

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Ocean Extra icon Ocean Extra400,000+ installs do_action( 'butterbean_enqueue_scripts' ) includes/metabox/butterbean/class-butterbean.php:656
  2. WP Show Posts icon WP Show Posts60,000+ installs do_action( 'butterbean_enqueue_scripts' ) admin/butterbean/class-butterbean.php:642
  3. BoldGrid Easy SEO icon BoldGrid Easy SEO40,000+ installs do_action( 'butterbean_enqueue_scripts' ) includes/lib/butterbean/class-butterbean.php:642
  4. Motors icon Motors8,000+ installs do_action( 'butterbean_enqueue_scripts' ) includes/admin/butterbean/class-butterbean.php:706
  5. Attesa Extra icon Attesa Extra1,000+ installs do_action( 'butterbean_enqueue_scripts' ) metabox/butterbean/class-butterbean.php:651
  6. Ultra Companion icon Ultra Companion1,000+ installs do_action( 'butterbean_enqueue_scripts' ) inc/metabox/butterbean/class-butterbean.php:642
  7. Custom Content Portfolio icon Custom Content Portfolio200+ installs do_action( 'butterbean_enqueue_scripts' ) admin/butterbean/class-butterbean.php:642
  8. Sierra Addons icon Sierra Addons80+ installs do_action( 'butterbean_enqueue_scripts' ) inc/butterbean/class-butterbean.php:642
  9. LQThemes Companion icon LQThemes Companion40+ installs do_action( 'butterbean_enqueue_scripts' ) inc/metabox/butterbean/class-butterbean.php:642

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.