Skip to main content Skip to navigation Skip to footer

Global Override

Updated

The Better Notifications for WP Global Override add-on allows you to override some of the settings of a notifications directly when editing a post, page, or custom post type. You can:

  • Choose whether you’d like to override an enabled notification or a disabled notification on a per post / page / custom post type basis.
  • Choose whether to disable or enable that notification on a per post / page / custom post type basis.
  • Choose whether to send a notification only once for updated and scheduled notifications.
  • Override the Users / User Roles / Email Address or Custom Fields shortcodes (when used in conjunction with the Send to Any Email add-on) that you want the notification(s) of the post / page / custom post type that you’re editing to be sent to.

This add-on can override all post, page, and custom post type notifications but not transactional notifications. It also works with all other BNFW add-ons that create new notification types, so if you also have the Custom Fields add-on installed, you’ll see new options allowing you to override any custom field notifications that you may have set-up too.

How to Override a Notification

  1. Add a new or edit the post / page / custom post that you want to override a notification for.
  2. On the left, you’ll see a new meta box called Notifications (see screenshot above) showing all enabled notifications.
  3. Choose whether you want to override a particular notification by ticking the corresponding ‘Override’ checkbox.
  4. You can also choose to only send out a single notification for this post / page/ custom post type. E.g. prevent future post updates from triggering multiple Post Updated or Post Scheduled notifications.
  5. Choose whether you want to enable or disable the notification for this post / page / custom post. The default setting is determined by whether the notification under Notifications > All Notifications is either enabled or disabled.
  6. You can then choose to enable or disable this notification.
  7. You can then override the Users / User Roles for the notification for this post / page / custom post type only too.

 

Checking Which Notifications Are Overridden

When viewing the All Posts / All Pages / All *Custom Post Type* screen, you’ll see a new column called Notification Overridden that lets you know if a post is overriding the global settings in one of your notifications. It won’t tell you which notification it’s overriding, but it’ll help you get started on tracking it down.

Screenshot 2015-12-22 15.17.15

 

Please Note: After changing the options in the BNFW Notifications metabox and pressing Update, it might trigger any Post / Page / Custom Post Type Updated notifications that you may have set-up. This is standard WordPress behaviour and, to my knowledge, can’t be changed.

 

Filter

Occasionally, you may see a custom post type or plugin that adds a screen to the WordPress Admin which will also display the Notifications meta box. If you see this and don’t want it to show for a particular post type, you can use this filter to hide it.

function bnfw_ignore_cpt( $cpts ) {
$cpts[] = 'post_type';
return $cpts;
}
add_filter( 'bnfw_ppo_ignore_cpt', 'bnfw_ignore_cpt' );

 

Questions?

Still have a question? Ask me a pre-sales question here and i’ll gladly help.

Privacy Overview

This website uses cookies so that it can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to this website and helping employees to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

This website uses the Stripe Payment Processor. Cookies from Stripe are required in order for this website to provide eCommerce functions, such as to accept payments.

This website uses YouTube to host and display videos relating to the operation of this plugin and forms part of the documentation. Use of cookies from YouTube is required in order to fully document or explain elements of a product.

PHPSESSID - This cookie is native to PHP applications. The cookie is used to store and identify a users' unique session ID for the purpose of managing a user's session on the website. The cookie is a session cookies and is deleted when all the browser windows are closed.