Cookiebot 4.8.1 has 0 actions and 8 filters, read directly from its source code on Nov 17, 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.
// Change a value Cookiebot is about to use
add_filter( 'cybot_cookiebot_addons_embed_placeholder', function( $placeholder, $src, $arg3 ) {
// Change $placeholder here.
return $placeholder;
}, 10, 3 );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
-
/** * Modify placeholder by Filter */ apply_filters( 'cybot_cookiebot_addons_embed_placeholder', $placeholder, $src, $this->get_cookie_types() ); -
/** * Generate placeholder */ apply_filters( 'cybot_cookiebot_addons_embed_source', $src ); -
/** * Add support for 3rd party plugins */ apply_filters( 'cybot_cookiebot_addons_language', $lang ); -
apply_filters( 'cybot_cookiebot_ignore_scripts', $this->ignore_scripts ); -
cybot_cookiebot_addons_list
filterapply_filters( 'cybot_cookiebot_addons_list', array_merge( PLUGIN_ADDONS, THEME_ADDONS, OTHER_ADDONS ) ); -
apply_filters( 'cybot_cookiebot_embed_default_regex', '/<iframe[^>]* src=("|\').*(facebook\.com|youtu\.be|youtube\.com|youtube-nocookie\.com|player\.vimeo\.com|soundcloud\.com|spotify\.com|speakerdeck\.com|slideshare\.net|screencast\.com|reverbnation\.com|mixcloud\.com|cloudup\.com|animoto\.com|video\.WordPress\.com|embed\.ted\.com|embedly\.com|kickstarter\.com).*[^>].*>.*?<\/iframe>/mi' ); -
cybot_cookiebot_embed_regex
filterapply_filters( 'cybot_cookiebot_embed_regex', $this->settings->get_addon_regex( self::OPTION_NAME, $this->get_default_regex() ) ); -
wp_video_shortcode_library
filterapply_filters( 'wp_video_shortcode_library', 'mediaelement' );
Generated from Cookiebot's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: