Blue Billywig icon
Media, Galleries & Sliders

Blue Billywig hooks reference

Blue Billywig 2.0.6 has 0 actions and 16 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Change a value Blue Billywig is about to use
add_filter( 'bluebillywig_consent_granted', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • admin/includes/class-admin.php line 1145
    /**
     * Fully suppress the bb-lazy assets on every layer — the head-time detection
     * AND the render-time safety net — for themes that ship their own
     * placeholder loader and must not get ours double-activating the same
     * `.bb-lazy-embed` nodes. Note: bb-lazy.js also implements the
     * consent-placeholder "Load video" button (data-bb-consent-grant) and chapter
     * navigation; a theme disabling it takes those over...
     */
    apply_filters( 'bluebillywig_disable_lazy_loader', false );
  • admin/includes/class-admin.php line 928
    /**
     * Force-enqueue the lazy loader for embeds this head-time detection can't see,
     * or return false to skip the head-time enqueue. Pre-2.0.4 semantics: this
     * filter only gates the head-time (layout-shift-free) enqueue — render paths
     * still deliver the assets via the enqueue_embed_runtime() safety net, so a
     * conditional callback here can no longer make an embed render without its
     * assets. To fully suppre...
     */
    apply_filters( 'bluebillywig_enqueue_lazy_loader', $needs_lazy, get_post() );
  • admin/includes/class-admin.php line 1058
    /**
     * This filter is documented in wp-includes/widgets.php.
     */
    apply_filters( 'sidebars_widgets', $sidebars );
  • admin/includes/class-admin.php line 439 · used in 3 places
    apply_filters( 'blue_billywig_get_playout_list', get_option('blue-billywig-api-secret'), get_option('blue-billywig-api-id'), get_option('blue-billywig-publication') );
  • admin/includes/class-admin.php line 417 · used in 2 places
    apply_filters( 'blue_billywig_media_clip', get_option('blue-billywig-api-secret'), get_option('blue-billywig-api-id'), get_option('blue-billywig-publication'), $query, 0, false );
  • admin/includes/class-admin.php line 782 · used in 2 places
    apply_filters( 'blue_billywig_publication_data', get_option('blue-billywig-api-secret'), get_option('blue-billywig-api-id'), get_option('blue-billywig-publication') );
  • admin/includes/class-ajax.php line 1318
    apply_filters( 'blue_billywig_clip_list', get_option( 'blue-billywig-api-secret' ), get_option( 'blue-billywig-api-id' ), get_option( 'blue-billywig-publication' ), $query );
  • admin/includes/class-ajax.php line 1133
    apply_filters( 'blue_billywig_delete_clip', get_option( 'blue-billywig-api-secret' ), get_option( 'blue-billywig-api-id' ), get_option( 'blue-billywig-publication' ), $video_id );
  • includes/class-shortcode.php line 45
    apply_filters( 'blue_billywig_get_embedcode', get_option( 'blue-billywig-api-secret' ), get_option( 'blue-billywig-api-id' ), get_option( 'blue-billywig-publication' ), $entity_id );
  • admin/includes/class-ajax.php line 1254
    apply_filters( 'blue_billywig_save_new_data', get_option( 'blue-billywig-api-secret' ), get_option( 'blue-billywig-api-id' ), get_option( 'blue-billywig-publication' ), $save_data );
  • admin/includes/class-admin.php line 1352
    apply_filters( 'bluebillywig_csp_nonce', '' );
  • includes/class-plugin.php line 232
    apply_filters( 'bluebillywig_lazy_load_oembed', true, $publication, $clip_id );
  • includes/class-plugin.php line 148
    apply_filters( 'bluebillywig_lazy_load_oembed_channel', false, $publication, $channel_id );
  • includes/class-shortcode.php line 61
    apply_filters( 'bluebillywig_lazy_load_shortcode', true, $entity_id, $atts );

Generated from Blue Billywig's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Done for you

Rather have it built for you?

Tell us what should change and we’ll write and test the code using these hooks.

Plugin customisation

from $149

New features or changed behaviour, without editing the plugin’s files.

  • Built as a companion plugin, so updates never wipe it
  • Exact quote before we start
  • Tested on staging, then deployed

Typical turnaround: 3–7 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Can't find the right hook?

We can build the customisation for you. Describe what you need: