Icegram Engage 3.1.50 has 41 actions and 62 filters, read directly from its source code on Nov 18, 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 Icegram Engage fires an action
add_action( 'icegram_activated', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Icegram Engage is about to use
add_filter( 'icegram_campaign_target_rule_conditions', function( $conditions, $pid, $options ) {
// Change $conditions here.
return $conditions;
}, 10, 3 );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.
Changes by version
3.1.49 → 3.1.50 · Nov 18, 2026 · 0 added, 0 removed
No hooks were added or removed in this release.
All hooks
-
/** * Tracker send tracking data params. */ apply_filters( "{$this->plugin_abbr}_tracking_data_params", $params ); -
/** * Filters the list of OR'd conditions placed inside the `pm.meta_key = * 'icegram_campaign_target_rules' AND ( ... )` group used to find valid * campaigns for the current page. Each entry must be array( 'sql' => '(...with * %s placeholders...)', 'params' => array(...) ) - params are consumed in * order by $wpdb->prepare(). */ apply_filters( 'icegram_campaign_target_rule_conditions', $conditions, $pid, $options ); -
apply_filters( 'icegram_message_meta_key', 'messages', $meta_key ); -
do_action( 'icegram_activated' ); -
do_action( 'icegram_deactivated' ); -
do_action( 'icegram_handle_trial_features', 'update' ); -
apply_filters( 'icegram_identify_current_page', $id ); -
do_action( 'icegram_settings_after' ); -
apply_filters( 'icegram_update_message_data', $message_data, $message_id ); -
apply_filters( 'icegram-engage_is_page_for_notifications', false ); -
apply_filters( "{$plugin_abbr}_additional_feedback_meta_info", $additional_info, $system_info ); -
apply_filters( "{$this->plugin_abbr}_can_ask_user_for_review", $can_ask_user_for_review, $review_data ); -
apply_filters( "{$this->plugin_abbr}_can_load_sweetalert_css", false ); -
apply_filters( "{$this->plugin_abbr}_can_load_sweetalert_js", false ); -
apply_filters( "{$this->plugin_abbr}_enable_review_notice", true ); -
apply_filters( "{$this->plugin_abbr}_escape_allowed_tags", array() ); -
apply_filters( "{$this->plugin_abbr}_review_message_data", $message_data ); -
apply_filters( "{$this->plugin_abbr}_show_plugin_usage_tracking_notice", false ); -
apply_filters( "{$this->plugin_abbr}_tracked_data_list", array( __( 'Server environment details (PHP, MYSQL, Server name etc.)', $this->text_domain ), __( 'WordPress environment details (Site URL, Site language, Timezone, WordPress version etc.)', $this->text_domain ), __( 'Installed plugins details', $this->text_domain ), __( 'Active theme details', $this->text_domain ), __( 'Admin name and email address', $this->text_domain ), ) ); -
do_action( 'icegram_about_after_core_campaigns' ); -
do_action( 'icegram_about_after_core_campaigns_col1' ); -
do_action( 'icegram_about_after_core_campaigns_col2' ); -
do_action( 'icegram_about_after_core_campaigns_col3' ); -
do_action( 'icegram_about_after_core_message_types' ); -
do_action( 'icegram_about_after_core_message_types_col1' ); -
do_action( 'icegram_about_after_core_message_types_col2' ); -
do_action( 'icegram_about_after_core_message_types_col3' ); -
do_action( 'icegram_about_after_faq' ); -
do_action( 'icegram_about_after_faq_col1' ); -
do_action( 'icegram_about_after_faq_col2' ); -
do_action( 'icegram_about_changelog' ); -
do_action( 'icegram_add_campaign_ctas' ); -
apply_filters( 'icegram_add_css', $css ); -
apply_filters( 'icegram_add_script', $scripts ); -
do_action( 'icegram_additional_campaign_data' ); -
do_action( 'icegram_additional_campaign_rules', $campaign_id, $campaign_target_rules ); -
apply_filters( 'icegram_admin_dashboard_tips_blocks', $icegram_tips_blocks ); -
do_action( 'icegram_after_button_label', $message_id, $message_data ); -
do_action( 'icegram_after_campaign_pages_where_rule', $campaign_id, $campaign_target_rules ); -
do_action( 'icegram_after_campaign_when_rule', $campaign_id, $campaign_target_rules ); -
do_action( 'icegram_after_campaign_where_rule', $campaign_id, $campaign_target_rules ); -
do_action( 'icegram_after_message_theme_settings', $message_id, $message_data ); -
apply_filters( 'icegram_available_headlines', array() ); -
do_action( 'icegram_behavior_settings', $message_id, $message_data ); -
do_action( 'icegram_blank_variation', array( 'title'=> $title, 'campaign_box' => $campaign_box) ); -
apply_filters( 'icegram_branding_data', array( 'icon' => $this->plugin_url . '/assets/images/icegram-logo-branding-64-grey.png', 'powered_by_logo' => $this->plugin_url . '/assets/images/icegram-logo-branding-64-grey.png', 'powered_by_text' => __( 'Powered by Icegram', 'icegram' ) ) ); -
apply_filters( 'icegram_campaign_default_rules', array ( 'homepage' => 'yes', 'when' => 'always', 'mobile' => 'yes', 'tablet' => 'yes', 'laptop' => 'yes', 'logged_in' => 'all' ) ); -
apply_filters( 'icegram_campaign_messages', $messages, $post->ID ); -
apply_filters( 'icegram_campaign_messages_list', $tabs ); -
apply_filters( 'icegram_campaign_meta_key', 'messages', $this->_post->ID ); -
apply_filters( 'icegram_campaign_preview_messages', $sanitized_messages, $_POST ); -
do_action( 'icegram_campaign_stats_cta' ); -
apply_filters( 'icegram_campaign_tabs', $tabs ); -
do_action( 'icegram_campaign_target_rules', $post->ID, $campaign_target_rules ); -
apply_filters( 'icegram_campaign_validate_post_type', $campaign_valid, $campaign, $options ); -
apply_filters( 'icegram_campaign_validation', true, $this, $options ); -
apply_filters( 'icegram_check_event_track', $event ); -
apply_filters( 'icegram_color_fields', array( 'html' => $color_field_html, 'message_id' => $message_id, 'message_data' => $message_data, 'settings' => $settings ) ); -
apply_filters( 'icegram_data', array( 'messages' => array_values( $messages ), 'ajax_url' => admin_url( 'admin-ajax.php' ), 'preview_id' => ! empty( $campaign_preview_id ) ? absint( $campaign_preview_id ) : '', 'defaults' => $icegram_default ) ); -
do_action( 'icegram_data_printed', $type ); -
apply_filters( 'icegram_default_message_data', $default_message_data ); -
apply_filters( 'icegram_display_rules', '' ); -
apply_filters( 'icegram_escape_allowed_tags', array() ); -
do_action( 'icegram_event_track', $event ); -
do_action( "icegram_event_track_{$event['type']}", $event['params'] ); -
do_action( 'icegram_file_include' ); -
apply_filters( 'icegram_font_family', $font_families ); -
do_action( 'icegram_geolocation_display_summary', $campaign_target_rules ); -
apply_filters( 'icegram_get_form_list', array() ); -
apply_filters( 'icegram_get_message_data', $message_data, $campaign ); -
apply_filters( 'icegram_get_valid_campaigns_sql', array( $sql ), array() ); -
apply_filters( 'icegram_get_valid_messages_params', array( $message_ids, $campaign_ids, $preview_mode, $skip_others ) ); -
apply_filters( 'icegram_get_widget_message_types', $icegram_campaign_types ); -
do_action( 'icegram_loaded' ); -
apply_filters( 'icegram_manage_message_columns', $existing_columns ); -
do_action( 'icegram_manage_message_custom_column', $column, $message_data ); -
apply_filters( 'icegram_message_field_link', array( 'html' => $target_link_field, 'message_id' => $message_id, 'message_data' => $message_data, 'settings' => $settings ) ); -
apply_filters( 'icegram_message_positions_to_show', $positions ); -
apply_filters( 'icegram_message_settings_to_show', $settings ); -
apply_filters( 'icegram_message_type_basedirs', $icegram_message_type_basedirs ); -
apply_filters( 'icegram_message_type_params', $params, $this->type ); -
apply_filters( "icegram_message_type_params_{$this->type}", $params ); -
apply_filters( "icegram_message_type_params_{$type}", $params ); -
apply_filters( 'icegram_message_type_themes', $themes, $this->type ); -
apply_filters( 'icegram_message_types', array() ); -
apply_filters( 'icegram_messages_to_show', $messages ); -
apply_filters( 'icegram_mobile_popup_settings', $action_bar ); -
apply_filters( 'icegram_modify_campaign_id', $message_campaign_map[ $message_id ], $message_id ); -
apply_filters( 'icegram_plan', 'lite' ); -
do_action( 'icegram_print_js_css_data', $icegram_data ); -
do_action( 'icegram_remove_all_data' ); -
apply_filters( 'icegram_rules_summary', $this->rules_summary, $this->rules ); -
do_action( 'icegram_save_trial_campaign_message_ids', $trial_data ); -
apply_filters( 'icegram_searched_messages', $found_messages, $term ); -
do_action( 'icegram_styling_options', $message_id, $message_data ); -
do_action( 'icegram_styling_settings', $message_id, $message_data ); -
apply_filters( 'icegram_update_campaign_rules', $raw_campaign_rules, $post_id ); -
apply_filters( 'icegram_update_message_preview_data', $message_data, $message_id ); -
apply_filters( 'icegram_valid_campaigns', $valid_campaigns ); -
apply_filters( 'icegram_valid_messages', $valid_messages ); -
apply_filters( 'icegram_validate_custom_script', $message_data['custom_js'] ); -
do_action( 'icegram_when_display_summary_rules', $campaign_target_rules ); -
apply_filters( 'icegram_where_display_rules_summary', $where_rules );
Generated from Icegram Engage's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: