Popup builder with Gamification, Multi-Step Popups, Page-Level Targeting, and WooCommerce Triggers icon
Email & Marketing

Popup builder with Gamification, Multi-Step Popups, Page-Level Targeting, and WooCommerce Triggers hooks reference

  • By Roxnor
  • v2.3.10 New
  • Updated

Popup builder with Gamification, Multi-Step Popups, Page-Level Targeting, and WooCommerce Triggers 2.3.10 has 7 actions and 38 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Popup builder with Gamification, Multi-Step Popups, Page-Level Targeting, and WooCommerce Triggers fires an action
add_action( 'popup_builder_block/analytics/log_updated', function( $id, $refferer ) {
	// Your code runs here.
}, 10, 2 );

// Change a value Popup builder with Gamification, Multi-Step Popups, Page-Level Targeting, and WooCommerce Triggers is about to use
add_filter( 'popup_builder_block/analytics/reports', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • includes/Routes/Popup.php line 434
    /**
     * A conversion was counted for a logged popup view. The Top Referrers report
     * is a PopupKit Pro feature: Pro stores the referrer here.
     */
    do_action( 'popup_builder_block/analytics/log_updated', $id, $refferer );
  • includes/Routes/Popup.php line 292
    /**
     * Analytics reports by type, each a callable taking the campaign ID and the
     * date range. PopupKit Pro adds countries, browsers, referrers and campaigns
     * (the Top Countries, Browsers, Referrers and Campaigns reports).
     */
    apply_filters( 'popup_builder_block/analytics/reports', array( 'devices' => array( DataBase::class, 'get_devices' ), 'convertion' => array( DataBase::class, 'get_convertion' ), ) );
  • includes/Routes/Popup.php line 375
    /**
     * Visitor details of a logged popup view, sent back to the browser.
     */
    apply_filters( 'popup_builder_block/analytics/view_logged', array( 'userDetails' => array( 'device' => $device ), 'location' => new \stdClass(), ), $log_id, $campaign_id );
  • popup-builder-block.php line 193
    /**
     * Fires before the initialization of the PopupKit plugin.
     */
    do_action( 'popup_builder_block/before_init' );
  • includes/Routes/Subscribers.php line 165
    /**
     * Last gate before the record is built. Returning an array rejects the
     * submission and sends that array back as the response.
     */
    apply_filters( 'popup_builder_block/form/before_submit', null, $data, $campaign_id );
  • includes/Routes/Subscribers.php line 148
    /**
     * Spam gate. Runs before anything is stored or forwarded to an integration.
     */
    apply_filters( 'popup_builder_block/form/spam_check', null, $data, $campaign_id );
  • includes/Helpers/FrequencySettings.php line 70
    /**
     * Whether the visitor type lets this popup show.
     */
    apply_filters( 'popup_builder_block/frequency/visitor_type', true, $displayVisitor, $popup_id );
  • includes/Config/Blocks.php line 75
    /**
     * Fires after the free blocks are registered, on the screens where PopupKit
     * blocks load.
     */
    do_action( 'popup_builder_block/register_blocks' );
  • includes/Routes/Subscribers.php line 186
    /**
     * The record stored for a submission.
     */
    apply_filters( 'popup_builder_block/subscriber/data', array( 'campaign_id' => $campaign_id, 'campaign_title' => $campaign_title, 'email' => $email, 'name' => $name, 'form_data' => '', 'user_data' => '', ), $data );
  • includes/Routes/Subscribers.php line 318
    /**
     * Columns sent to the Subscribers page. Without PopupKit Pro that is the
     * email, name, campaign and date; Pro adds `form_data` and `user_data` for its
     * Details view and export.
     */
    apply_filters( 'popup_builder_block/subscribers/columns', array( 'id', 'campaign_id', 'campaign_title', 'email', 'name', 'date' ) );
  • scoped/packages/wpmet/utility-package/src/Emailkit/Emailkit.php line 147 · used in 2 places
    apply_filters( 'active_plugins', get_option('active_plugins') );
  • includes/Hooks/PopupGenerator.php line 61 · used in 2 places
    do_action( 'popup_builder_block/before_popup_render', $post->ID );
  • scoped/packages/wpmet/utility-package/src/Emailkit/Emailkit.php line 20
    do_action( 'edit_with_emailkit_loaded' );
  • includes/Routes/Subscribers.php line 255
    do_action( 'popup_builder_block_form_integration_submit', $subscriber_data );
  • includes/Helpers/PopupConditions.php line 73
    apply_filters( 'popup_builder_block/abtest/active', false, $this->post_meta );
  • includes/Hooks/PopupGenerator.php line 100
    apply_filters( 'popup_builder_block/abtest/selected', array(), $abtest_posts );
  • includes/Helpers/PopupConditions.php line 69
    apply_filters( 'popup_builder_block/adblock/detection', true, $this->post_meta );
  • includes/Helpers/Utils.php line 1090
    apply_filters( 'popup_builder_block/allow_post_type', $post_type );
  • includes/Helpers/Utils.php line 268
    apply_filters( 'popup_builder_block/allowed_json_attrs_tags', $allowed_json_tags );
  • includes/Helpers/Utils.php line 145
    apply_filters( 'popup_builder_block/allowed_svg_attrs_tags', $allowed_svg_tags );
  • includes/Helpers/PopupConditions.php line 90
    apply_filters( 'popup_builder_block/browser/targeting', true, $this->post_meta );
  • includes/Hooks/Enqueue.php line 90
    apply_filters( 'popup_builder_block/custom_styles', $inline_css );
  • includes/Helpers/DisplayConditions.php line 126
    apply_filters( 'popup_builder_block/custom-url/display_conditions', $cond );
  • includes/Routes/DeactivationFeedback.php line 119
    apply_filters( 'popup_builder_block/deactivation_feedback/user_type', 'free' );
  • includes/Helpers/DisplayConditions.php line 124
    apply_filters( 'popup_builder_block/edd/display_conditions', $cond, $popup_id );
  • includes/Hooks/FontFamilyGenerator.php line 203
    do_action( 'popup_builder_block/gathering_fonts', $post_id, $post, true );
  • includes/Helpers/PopupConditions.php line 57
    apply_filters( 'popup_builder_block/geolocation/targeting', true, $this->post_meta );
  • includes/Helpers/PopupConditions.php line 86
    apply_filters( 'popup_builder_block/operatingsystem/targeting', true, $this->post_meta );
  • includes/Config/SettingsList.php line 68
    apply_filters( 'popup_builder_block/pbb-settings-tabs/list', $list );
  • includes/Config/PostMeta.php line 230
    apply_filters( 'popup_builder_block/post_meta_fields', $meta_list );
  • includes/Helpers/PopupConditions.php line 94
    apply_filters( 'popup_builder_block/referrer/targeting', true, $this->post_meta );
  • includes/Config/Blocks.php line 126
    apply_filters( 'popup_builder_block/save_element_markup', $processor, $block, $instance );
  • includes/Config/Blocks.php line 125
    apply_filters( 'popup_builder_block/save_element_markup_after', '', $block );
  • includes/Config/Blocks.php line 124
    apply_filters( 'popup_builder_block/save_element_markup_before', '', $block );
  • includes/Helpers/PopupConditions.php line 61
    apply_filters( 'popup_builder_block/scheduling', true, $this->post_meta );
  • includes/Routes/Subscribers.php line 266
    apply_filters( 'popup_builder_block/subscribers_rate_limit_attempts', self::RATE_LIMIT_ATTEMPTS );
  • includes/Routes/Subscribers.php line 265
    apply_filters( 'popup_builder_block/subscribers_rate_limit_window', self::RATE_LIMIT_WINDOW );
  • includes/Hooks/Preview.php line 51
    apply_filters( 'popup_builder_block/template_path', POPUP_BUILDER_BLOCK_INC_DIR . 'Templates/SinglePopup.php' );
  • includes/Routes/Popup.php line 452
    apply_filters( 'popup_builder_block/tracking_rate_limit_attempts', self::TRACKING_RATE_LIMIT_ATTEMPTS );
  • includes/Routes/Popup.php line 451
    apply_filters( 'popup_builder_block/tracking_rate_limit_window', self::TRACKING_RATE_LIMIT_WINDOW );
  • includes/Helpers/DisplayConditions.php line 122
    apply_filters( 'popup_builder_block/woocommerce/display_conditions', $cond, $popup_id );
  • includes/Helpers/InstallTracker.php line 57
    apply_filters( 'wpmet_onboard_status_map', self::ONBOARD_STATUS_MAP );

Generated from Popup builder with Gamification, Multi-Step Popups, Page-Level Targeting, and WooCommerce Triggers's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: