This add-on provides a number of new shortcodes allowing you to include data from custom fields for posts, pages, and custom post types, as well as custom fields in a user’s profile in both the subject and message body of your notifications.
It also allows you to set one or multiple custom fields that will ‘trigger’ the notification. It works great with ACF’s front-end forms (acf_form) too.
Supported Custom Field Plugins
The custom field plugins that are supported for posts, pages, or custom post types are:
- Advanced Custom Fields Pro
- Advanced Custom Fields (Free)
- Meta Box
- Toolset Types (partial support)
- WordPress’s own, default custom fields
User Profile Custom Fields
You can also include data from custom fields in a user’s profile (user meta data), providing that it’s created using WordPress’s standard user_meta_fields, either via ACF, WordPress, custom code, or another plugin. These can be used in any notification that allows you to use the user shortcodes that BNFW provides. The custom field types that you can currently use in your post, page, and custom post type notifications are:
- WYSIWYG Editor
- Radio Button
- True / False
- Page Link
- Color Picker
Note: Better Notifications For WordPress Plugin is required to use this add-on which is available for free on the WordPress repository.