PushEngage icon
eCommerce & WooCommerce

PushEngage hooks reference

  • By Syed Balkhi
  • v4.3.0 New
  • Updated

PushEngage 4.3.0 has 3 actions and 26 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 PushEngage fires an action
add_action( 'upgrader_process_complete', function( $object, $options ) {
	// Your code runs here.
}, 10, 2 );

// Change a value PushEngage is about to use
add_filter( 'mcp_adapter_create_default_server', 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

  • app/Utils/ToolsStatus.php line 360
    /**
     * This filter is documented in mcp-adapter/includes/Core/McpAdapter.php
     */
    apply_filters( 'mcp_adapter_create_default_server', true );
  • app/Utils/ToolsStatus.php line 387
    /**
     * This filter is documented in
     * mcp-adapter/includes/Servers/DefaultServerFactory.php
     */
    apply_filters( 'mcp_adapter_default_server_config', array( 'server_id' => self::MCP_DEFAULT_SERVER, 'server_route_namespace' => 'mcp', 'server_route' => self::MCP_DEFAULT_SERVER, ) );
  • app/Utils/Helpers.php line 151
    /**
     * Filter the PushEngage SSL-detection result.
     */
    apply_filters( 'pushengage_is_ssl', $is_ssl );
  • app/Utils/PluginUpgraderSilent.php line 526
    /**
     * Filter whether the upgrader cleared the destination.
     */
    apply_filters( 'upgrader_clear_destination', $removed, $local_destination, $remote_destination, $args['hook_extra'] );
  • app/Utils/PluginUpgraderSilent.php line 98
    /**
     * Filter the package options before running an update.
     */
    apply_filters( 'upgrader_package_options', $options );
  • app/Utils/PluginUpgraderSilent.php line 567
    /**
     * Filter the installation response after the installation has finished.
     */
    apply_filters( 'upgrader_post_install', true, $args['hook_extra'], $this->result );
  • app/Utils/PluginUpgraderSilent.php line 313
    /**
     * Filters whether to return the package.
     */
    apply_filters( 'upgrader_pre_download', false, $package, $this, $hook_extra );
  • app/Utils/PluginUpgraderSilent.php line 460
    /**
     * Filter the install response before the installation has started.
     */
    apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] );
  • app/Utils/PluginUpgraderSilent.php line 203
    /**
     * Fire when the upgrader process is complete.
     */
    do_action( 'upgrader_process_complete', $this, $options['hook_extra'] );
  • app/Utils/PluginUpgraderSilent.php line 485
    /**
     * Filter the source file location for the upgrade package.
     */
    apply_filters( 'upgrader_source_selection', $source, $remote_source, $this, $args['hook_extra'] );
  • app/Utils/Helpers.php line 56
    apply_filters( 'active_plugins', get_option( 'active_plugins' ) );
  • plugin_locale

    filter
    app/Pushengage.php line 212
    apply_filters( 'plugin_locale', $pe_locale, 'pushengage' );
  • app/Core.php line 471
    apply_filters( 'pushengage_auto_push_exclude_post', $new_status, $old_status, $post );
  • app/Core.php line 464
    apply_filters( 'pushengage_auto_push_include_post', $new_status, $old_status, $post );
  • app/Admin.php line 103
    apply_filters( 'pushengage_connection_notice_allowed_screens', array( 'dashboard', 'plugins', ) );
  • app/Pushengage.php line 222
    apply_filters( 'pushengage_languages_directory', $pe_mofile4 );
  • main.php line 116
    do_action( 'pushengage_loaded' );
  • app/NavMenu.php line 94
    apply_filters( 'pushengage_menu_position', '58.9' );
  • app/Integrations/WooCommerce/NotificationHandler.php line 178
    apply_filters( 'pushengage_order_notification_replacements', $replacements, $order );
  • app/Core.php line 688
    apply_filters( 'pushengage_post_settings_metabox_priority', 'high' );
  • app/Integrations/WooCommerce/NotificationSettings.php line 312
    apply_filters( 'pushengage_push_notification_events', $notifications );
  • app/ReviewNotice.php line 90
    apply_filters( 'pushengage_review_notice_allowed_screens', array( 'dashboard', 'plugins', ) );
  • app/Integrations/WooCommerce/Whatsapp/CartAbandonment/Tracker.php line 590
    do_action( 'pushengage_send_abandoned_cart_notification', $cart );
  • app/Core.php line 722
    apply_filters( 'pushengage_site_not_connected_metabox_priority', 'high' );
  • app/Integrations/WooCommerce/Whatsapp/WhatsappHelper.php line 351
    apply_filters( 'pushengage_whatsapp_get_replacement_variables', $merged_replacements_variables, $order, $cart );
  • app/Admin.php line 224
    apply_filters( 'pushengage_woo_integration_notice_allowed_screens', array( 'woocommerce_page_wc-settings', ) );
  • app/Integrations/WooCommerce/NotificationSettings.php line 255
    apply_filters( 'pushengage_woocommerce_notification_admin_roles', $roles );
  • the_content

    filter
    app/Core.php line 890
    apply_filters( 'the_content', get_post_field( 'post_content', $post_id ) );
  • the_excerpt

    filter
    app/Core.php line 888
    apply_filters( 'the_excerpt', get_post_field( 'post_excerpt', $post_id ) );

Generated from PushEngage'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: