WordPress action hook
cpfm_register_notice
Fired by 29 WordPress plugins, running on 329K+ sites between them.
“Allow other plugins to register notices dynamically. Example usage in other plugins: add_action('cpfm_register_notice', function() { CPFM_Feedback_Notice::cpfm_register_notice('events', [ 'title' => 'Events Plugin Notice', 'message' => 'This is a events dashboard setup notice.', 'pages' => ['dashboard'], ]); });”
How to use cpfm_register_notice
It's an action: your callback runs at that point. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'cpfm_register_notice', function() {
// Your code runs here.
}, 10, 1 );Argument names come from Timeline Widget For Elementor (Elementor Timeline, Vertical & Horizontal Timeline)'s source. Other plugins may pass different values: check the call in the plugin you're targeting below.
29 plugins that fire cpfm_register_notice
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Timeline Widget For Elementor (Elementor Timeline, Vertical & Horizontal Timeline)70,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:112 -
LocoAI70,000+ installs
do_action( 'cpfm_register_notice' )admin/feedback/cpfm-common-notice.php:68 -
FormsDB20,000+ installs
do_action( 'cpfm_register_notice' )admin/feedback/cpfm-common-notice.php:63 -
Cool Timeline (Horizontal & Vertical Timeline)20,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:112 -
Cool FormKit Lite20,000+ installs
do_action( 'cpfm_register_notice' )admin/feedback/cpfm-feedback-notice.php:60 -
Input Mask For Elementor Form Fields10,000+ installs
do_action( 'cpfm_register_notice' )admin/feedback/cpfm-common-notice.php:63 -
Country Code For Elementor Form Telephone Field10,000+ installs
do_action( 'cpfm_register_notice' )admin/feedback/cpfm-common-notice.php:68 -
Conditional Fields for Elementor Form10,000+ installs
do_action( 'cpfm_register_notice' )admin/feedback/cpfm-common-notice.php:67 -
Events Shortcodes For The Events Calendar10,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:112 -
Events Widgets For Elementor And The Events Calendar10,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:112 -
Form Input Masks For Elementor Forms10,000+ installs
do_action( 'cpfm_register_notice' )admin/feedback/cpfm-common-notice.php:64 -
Toolkit for Polylang10,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:112 -
AI Translation For TranslatePress10,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-common-notice.php:74 -
Timeline Block For Gutenberg9,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:112 -
Cryptocurrency Widgets6,000+ installs
do_action( 'cpfm_register_notice' )admin/feedback/cpfm-feedback-notice.php:59 -
Event Single Page Builder For The Events Calendar6,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:112 -
AutoPoly5,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:112 -
Cool Flipbox5,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:112 -
Linguator3,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:112 -
Event Countdown for The Events Calendar3,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:112 -
Events Search & Filter Bar for The Events Calendar3,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:112 -
Timeline Module for Divi3,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:112 -
Events Block For The Events Calendar2,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:69 -
Events Calendar Modules for Divi2,000+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:112 -
Cryptocurrency Widgets For Elementor1,000+ installs
do_action( 'cpfm_register_notice' )admin/feedback/cpfm-common-notice.php:61 -
Contact Form Extender for Divi600+ installs
do_action( 'cpfm_register_notice' )admin/feedback/cpfm-common-notice.php:64 -
Pay With MetaMask For WooCommerce400+ installs
do_action( 'cpfm_register_notice' )admin/feedback/cpfm-feedback-notice.php:62 -
AutoMLP100+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-common-notice.php:58 -
Multilingual AI Translator30+ installs
do_action( 'cpfm_register_notice' )admin/cpfm-feedback/cpfm-feedback-notice.php:42
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.