Easy Notification Bar icon
Ads & Monetisation

Easy Notification Bar hooks reference

  • By WPExplorer
  • v1.7
  • Updated

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.

functions.phpyour child theme
// 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.php line 397 · used in 2 places
    /**
     * Filters whether the current page is an amp page
     */
    apply_filters( 'easy_notification_bar_is_amp', $check );
  • easy-notification-bar.php line 513
    /**
     * Filters the easy-notification-bar-container element classes.
     */
    apply_filters( 'easy_notification_bar_container_class', $class, $this );
  • easy-notification-bar.php line 116
    /**
     * Filters the default notification bar settings.
     */
    apply_filters( 'easy_notification_bar_default_settings', $default_settings, $this );
  • easy-notification-bar.php line 560
    /**
     * Filters whether the plugin should load it's CSS files or not.
     */
    apply_filters( 'easy_notification_bar_enqueue_css', true, $this );
  • easy-notification-bar.php line 217
    /**
     * Filters the default hook where the notification bar is inserted.
     */
    apply_filters( 'easy_notification_bar_hook_name', 'wp_body_open', $this );
  • easy-notification-bar.php line 225
    /**
     * Filters the hook priority for the add_action functions used to display the
     * notification.
     */
    apply_filters( 'easy_notification_bar_hook_priority', 10, $this );
  • easy-notification-bar.php line 286
    /**
     * Filters whether the notification bar is enabled or not.
     */
    apply_filters( 'easy_notification_bar_is_enabled', $enabled, $this );
  • easy-notification-bar.php line 175
    /**
     * Filters the notification bar settings.
     */
    apply_filters( 'easy_notification_bar_settings', get_theme_mod( 'easy_nb' ), $this );
  • easy-notification-bar.php line 486
    /**
     * Filters the wrap classes added to the easy-notification-bar element.
     */
    apply_filters( 'easy_notification_bar_wrap_class', $class, $this );
  • easy-notification-bar.php line 1265
    apply_filters( 'easy_notification_bar_button_rel', implode( ' ' , $rel ) );
  • easy-notification-bar.php line 1309
    apply_filters( 'easy_notification_bar_close_icon', $icon );
  • easy-notification-bar.php line 349
    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: