WordPress filter hook
anh_enqueue_message
Fired by 10 WordPress plugins, running on 230+ sites between them.
How to use anh_enqueue_message
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'anh_enqueue_message', function( $message ) {
// Change $message here.
return $message;
}, 10, 1 );Argument names come from Online Games's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
10 plugins that fire anh_enqueue_message
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Online Games70+ installs
apply_filters( 'anh_enqueue_message', $message )includes/admin-notice-helper/admin-notice-helper.php:84 -
Scores40+ installs
apply_filters( 'anh_enqueue_message', $message )includes/admin-notice-helper/admin-notice-helper.php:84 -
User Post Collections20+ installs
apply_filters( 'anh_enqueue_message', $message )includes/admin-notice-helper/admin-notice-helper.php:97 -
Linkbuildr20+ installs
apply_filters( 'anh_enqueue_message', $message )includes/admin-notice-helper/admin-notice-helper.php:84 -
League Tables with Standings, Fixtures, Results, Goalscorers, Cards & More!20+ installs
apply_filters( 'anh_enqueue_message', $message )includes/admin-notice-helper/admin-notice-helper.php:84 -
Sports News Headlines Widget Box In Any Language20+ installs
apply_filters( 'anh_enqueue_message', $message )includes/admin-notice-helper/admin-notice-helper.php:84 -
Zanto WP Translation (For Multisites)10+ installs
apply_filters( 'anh_enqueue_message', $message )includes/notices/admin-notice-helper.php:65 -
Email Manager10+ installs
apply_filters( 'anh_enqueue_message', $message )includes/admin-notice-helper/admin-notice-helper.php:84 -
RealtyCandy MailChimp IDX Broker Connector10+ installs
apply_filters( 'anh_enqueue_message', $message )includes/admin-notice-helper/admin-notice-helper.php:80 -
OS media10+ installs
apply_filters( 'anh_enqueue_message', $message )includes/admin-notice-helper/admin-notice-helper.php:84
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.