WordPress action hook

anp_popup_items

Fired by 3 WordPress plugins, running on 30K+ sites between them.

How to use anp_popup_items

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:

functions.php
add_action( 'anp_popup_items', function() {
	// Your code runs here.
}, 10, 1 );

Argument names come from Cost Calculator Builder's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

3 plugins that fire anp_popup_items

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Cost Calculator Builder icon Cost Calculator Builder20,000+ installs do_action( 'anp_popup_items' ) includes/lib/admin-notifications-popup/classes/Popup/NotificationPopupHtml.php:13
  2. MasterStudy LMS WordPress Plugin icon MasterStudy LMS WordPress Plugin10,000+ installs do_action( 'anp_popup_items' ) _core/libraries/admin-notification-popup/classes/Popup/NotificationPopupHtml.php:13
  3. Checkout Custom Fields Builder for WooCommerce icon Checkout Custom Fields Builder for WooCommerce30+ installs do_action( 'anp_popup_items' ) libraries/admin-notification-popup/classes/Popup/NotificationPopupHtml.php:13

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.