Easy Notification Bar 1.7 has 0 actions and 12 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 Easy Notification Bar is about to use
add_filter( 'easy_notification_bar_is_amp', function( $check ) {
// Change $check here.
return $check;
}, 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
-
easy_notification_bar_is_amp
filter/** * Filters whether the current page is an amp page */ apply_filters( 'easy_notification_bar_is_amp', $check ); -
/** * Filters the easy-notification-bar-container element classes. */ apply_filters( 'easy_notification_bar_container_class', $class, $this ); -
/** * Filters the default notification bar settings. */ apply_filters( 'easy_notification_bar_default_settings', $default_settings, $this ); -
/** * Filters whether the plugin should load it's CSS files or not. */ apply_filters( 'easy_notification_bar_enqueue_css', true, $this ); -
/** * Filters the default hook where the notification bar is inserted. */ apply_filters( 'easy_notification_bar_hook_name', 'wp_body_open', $this ); -
/** * Filters the hook priority for the add_action functions used to display the * notification. */ apply_filters( 'easy_notification_bar_hook_priority', 10, $this ); -
/** * Filters whether the notification bar is enabled or not. */ apply_filters( 'easy_notification_bar_is_enabled', $enabled, $this ); -
/** * Filters the notification bar settings. */ apply_filters( 'easy_notification_bar_settings', get_theme_mod( 'easy_nb' ), $this ); -
/** * Filters the wrap classes added to the easy-notification-bar element. */ apply_filters( 'easy_notification_bar_wrap_class', $class, $this ); -
apply_filters( 'easy_notification_bar_button_rel', implode( ' ' , $rel ) ); -
apply_filters( 'easy_notification_bar_close_icon', $icon ); -
apply_filters( 'easy_notification_bar_message', $message, $this );
Generated from Easy Notification Bar'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: