Settings

Suppress SPAM comment notification Ticking this checkbox prevents comments that have been marked as SPAM by another plugin from triggering a ‘New Comment / Awaiting Moderation’ notification. An example of a compatible plugin is Akismet. Default Email Format This sets the default format of emails sent out from WordPress to either Plain Text (no formatting)…

Read Document

Import / Export

Whilst there is currently no dedicated import / export system for BNFW as a feature of the plugin, it has been reported that the Export feature of WordPress, combined with the WordPress Importer plugin works very well. This is however, untested.

Read Document

Compatibility

There are a few things that you may wish to do to ensure the best compatibility with WordPress and other plugins to ensure that things work as expected. For more information about settings that you may want to change in the WordPress Admin’s ‘Settings > General’ screen, please see the plugin FAQ.

Read Document

How can I make my plugin/theme work with BNFW?

BNFW utilises WordPress actions to trigger these emails and send them out. If an action already causes an email to send within WordPress by default (such as when a new user registers and an email is sent to the site admin) BNFW will use a filter to change the contents of this email with the…

Read Document

Changing the From Name & Email for Transactional Notifications

Due to a restriction in the WordPress wp_mail() function, it is not possible to change some of the header information for transactional notifications. This includes the ‘From’ name and email address, and ‘CC’ and ‘BCC’ details. In order to get around this you may need to use a function (see below) to change the default…

Read Document

Useful Functions

Although these are scattered throughout the documentation on the relevant pages, here is a useful list of BNFW functions that provide support with other plugins:   Add Support for Gravity Forms User Registration Add-on 12345if ( ! function_exists( ‘gf_new_user_notification’ ) ) { function gf_new_user_notification( $user_id, $plaintext_pass = ”, $notify = ” ) { wp_new_user_notification( $user_id,…

Read Document

Support for Themes with Front-end Forms

Sometimes, a WordPress theme will add a post directly to the database instead of transitioning it between post statuses. When this happens (usually via a front-end form of some kind), BNFW can’t pick up the notification as it passes between draft and publish, or draft and scheduled, etc. In order to add support for your theme, please add…

Read Document

Support for Plugins with Front-end Forms

In order to add support for a plugin that uses front-end forms, please add the following code to your theme’s functions.php file. Alternatively, if you’d like more control over the notifications from your front-end form, please see this support document on how to trigger a notification using an ACF front-end from. 1add_filter( ‘bnfw_trigger_insert_post’, ‘__return_true’ );…

Read Document

New User Notifications and Easy Digital Downloads

To prevent Easy Digital Downloads (EDD) from overriding the ‘New User Registration – For User’ notification, add this line of code to your functions.php file to prevent the EDD email from sending. This will then allow the BNFW notification to work as expected. 1remove_action(’edd_insert_user’, ‘edd_new_user_notification’, 10, 2 );

Read Document

New User Notifications and CiviCRM

In order to trigger the ‘New User Registration – For User’ notifications when inserting users directly using the CiviCRM WordPress Profile Sync plugin, use the following code: 1234function bnfw_trigger_user_notification($civi_contact, $user_id) { wp_new_user_notification( $user_id, null, ‘both’ ); } add_action(’civi_wp_member_sync_after_insert_user’, ‘bnfw_trigger_user_notification’, 10, 2);

Read Document

Subscribe for BNFW News

Want to know when new add-ons or features are released? Sign up to the newsletter. No spam, ever. Unsubscribe at any time.

Please enter your name.
Please enter a valid email address.
Something went wrong. Please check your entries and try again.