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:

functions.php
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.

  1. Online Games icon Online Games70+ installs apply_filters( 'anh_enqueue_message', $message ) includes/admin-notice-helper/admin-notice-helper.php:84
  2. Scores icon Scores40+ installs apply_filters( 'anh_enqueue_message', $message ) includes/admin-notice-helper/admin-notice-helper.php:84
  3. User Post Collections icon User Post Collections20+ installs apply_filters( 'anh_enqueue_message', $message ) includes/admin-notice-helper/admin-notice-helper.php:97
  4. Linkbuildr icon Linkbuildr20+ installs apply_filters( 'anh_enqueue_message', $message ) includes/admin-notice-helper/admin-notice-helper.php:84
  5. League Tables with Standings, Fixtures, Results, Goalscorers, Cards & More! icon 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
  6. Sports News Headlines Widget Box In Any Language icon Sports News Headlines Widget Box In Any Language20+ installs apply_filters( 'anh_enqueue_message', $message ) includes/admin-notice-helper/admin-notice-helper.php:84
  7. Zanto WP Translation (For Multisites) icon Zanto WP Translation (For Multisites)10+ installs apply_filters( 'anh_enqueue_message', $message ) includes/notices/admin-notice-helper.php:65
  8. Email Manager icon Email Manager10+ installs apply_filters( 'anh_enqueue_message', $message ) includes/admin-notice-helper/admin-notice-helper.php:84
  9. RealtyCandy MailChimp IDX Broker Connector icon RealtyCandy MailChimp IDX Broker Connector10+ installs apply_filters( 'anh_enqueue_message', $message ) includes/admin-notice-helper/admin-notice-helper.php:80
  10. OS media icon 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.