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.
// 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
-
/** * 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 ); -
/** * 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' ), ) ); -
/** * 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 ); -
/** * Fires before the initialization of the PopupKit plugin. */ do_action( 'popup_builder_block/before_init' ); -
/** * 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 ); -
/** * Spam gate. Runs before anything is stored or forwarded to an integration. */ apply_filters( 'popup_builder_block/form/spam_check', null, $data, $campaign_id ); -
/** * Whether the visitor type lets this popup show. */ apply_filters( 'popup_builder_block/frequency/visitor_type', true, $displayVisitor, $popup_id ); -
/** * Fires after the free blocks are registered, on the screens where PopupKit * blocks load. */ do_action( 'popup_builder_block/register_blocks' ); -
/** * 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 ); -
/** * 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' ) ); -
active_plugins
filterapply_filters( 'active_plugins', get_option('active_plugins') ); -
do_action( 'popup_builder_block/before_popup_render', $post->ID ); -
edit_with_emailkit_loaded
actiondo_action( 'edit_with_emailkit_loaded' ); -
do_action( 'popup_builder_block_form_integration_submit', $subscriber_data ); -
apply_filters( 'popup_builder_block/abtest/active', false, $this->post_meta ); -
apply_filters( 'popup_builder_block/abtest/selected', array(), $abtest_posts ); -
apply_filters( 'popup_builder_block/adblock/detection', true, $this->post_meta ); -
apply_filters( 'popup_builder_block/allow_post_type', $post_type ); -
apply_filters( 'popup_builder_block/allowed_json_attrs_tags', $allowed_json_tags ); -
apply_filters( 'popup_builder_block/allowed_svg_attrs_tags', $allowed_svg_tags ); -
apply_filters( 'popup_builder_block/browser/targeting', true, $this->post_meta ); -
apply_filters( 'popup_builder_block/cookie/targeting', true, $this->post_meta ); -
apply_filters( 'popup_builder_block/custom_styles', $inline_css ); -
apply_filters( 'popup_builder_block/custom-url/display_conditions', $cond ); -
apply_filters( 'popup_builder_block/deactivation_feedback/user_type', 'free' ); -
apply_filters( 'popup_builder_block/edd/display_conditions', $cond, $popup_id ); -
do_action( 'popup_builder_block/gathering_fonts', $post_id, $post, true ); -
apply_filters( 'popup_builder_block/geolocation/targeting', true, $this->post_meta ); -
apply_filters( 'popup_builder_block/operatingsystem/targeting', true, $this->post_meta ); -
apply_filters( 'popup_builder_block/pbb-settings-tabs/list', $list ); -
apply_filters( 'popup_builder_block/post_meta_fields', $meta_list ); -
apply_filters( 'popup_builder_block/referrer/targeting', true, $this->post_meta ); -
apply_filters( 'popup_builder_block/save_element_markup', $processor, $block, $instance ); -
apply_filters( 'popup_builder_block/save_element_markup_after', '', $block ); -
apply_filters( 'popup_builder_block/save_element_markup_before', '', $block ); -
apply_filters( 'popup_builder_block/scheduling', true, $this->post_meta ); -
apply_filters( 'popup_builder_block/subscribers_rate_limit_attempts', self::RATE_LIMIT_ATTEMPTS ); -
apply_filters( 'popup_builder_block/subscribers_rate_limit_window', self::RATE_LIMIT_WINDOW ); -
apply_filters( 'popup_builder_block/template_path', POPUP_BUILDER_BLOCK_INC_DIR . 'Templates/SinglePopup.php' ); -
apply_filters( 'popup_builder_block/tracking_rate_limit_attempts', self::TRACKING_RATE_LIMIT_ATTEMPTS ); -
apply_filters( 'popup_builder_block/tracking_rate_limit_window', self::TRACKING_RATE_LIMIT_WINDOW ); -
apply_filters( 'popup_builder_block/woocommerce/display_conditions', $cond, $popup_id ); -
wpmet_onboard_status_map
filterapply_filters( 'wpmet_onboard_status_map', self::ONBOARD_STATUS_MAP ); -
wpmet/stories/plugin_links
filterapply_filters( 'wpmet/stories/plugin_links', [] );
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: