Zaplane 1.7.0 has 55 actions and 59 filters, read directly from its source code on Nov 19, 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 Zaplane fires an action
add_action( 'zaplane/inbox/reply_requested', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );
// Change a value Zaplane is about to use
add_filter( 'zaplane_http_block_request', function( $value, $url, $parsed ) {
// Change $value here.
return $value;
}, 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.
All hooks
-
/** * This filter is shared with the built-in HTTP integration. */ apply_filters( 'zaplane_http_block_request', false, $url, $parsed ); -
/** * This action is documented in channels/source-channel.php */ do_action( 'zaplane/inbox/reply_requested', Sources::reply_payload( $conversation, $identity, $message ) ); -
/** * Filter the history budget (characters). ~4 chars/token, so 12000 chars is * roughly 3k tokens of history. */ apply_filters( 'zaplane_agent_history_char_budget', 12000 ); -
/** * Filter what an integration offers to the AI Agent's slots. */ apply_filters( 'zaplane_agent_slots', $slots, $slug, $actions ); -
/** * PHP functions a local Custom App may call. */ apply_filters( 'zaplane_custom_app_callables', [], static::get_slug() ); -
/** * Filter the embeddings config (e.g. to source the key from elsewhere). */ apply_filters( 'zaplane_embeddings_config', $cfg ); -
/** * Short-circuit with a custom/local embedding. Return a numeric array to use * it; return null to fall through to the configured provider. */ apply_filters( 'zaplane_embeddings_vector', null, $text, $cfg ); -
/** * Hosts this site is allowed to reach despite being private. */ apply_filters( 'zaplane_http_allowed_private_hosts', [] ); -
/** * Filter a synced knowledge entry's body before it is stored. Lets any * integration enrich entries for its own post types. */ apply_filters( 'zaplane_knowledge_sync_entry', $content, $post, $post_type, $config ); -
/** * Filter the Graph API version used for a Meta API call. */ apply_filters( 'zaplane_meta_graph_version', $version, (string) $override ); -
/** * Fires once a group recipe's workflows are created, and switched on if asked. */ do_action( 'zaplane_recipe_group_installed', $result, $recipe ); -
/** * Register third-party integrations. Call zaplane_register_integration() (or * IntegrationLoader::register()) from this hook. */ do_action( 'zaplane_register_integrations' ); -
/** * Return a reason to hold a workflow's message to a customer. */ apply_filters( 'zaplane/channel_send/check', '', $context ); -
/** * A workflow message was held instead of sent. */ do_action( 'zaplane/channel_send/held', $context, $reason ); -
/** * A workflow delivered a message to a customer. */ do_action( 'zaplane/channel_send/sent', $context ); -
/** * Filter the final meta array before it is saved. */ apply_filters( 'zaplane/gembooking_bookable_meta', $meta, $kind, $config ); -
/** * Fires after a service/event/resource is created by Zaplane. Hook here for * site-specific extras (link a WooCommerce/StoreEngine product, attach a * booking form, assign team members, ...). */ do_action( 'zaplane/gembooking_bookable_saved', $post_id, $kind, $config, $input ); -
/** * Let a site veto removal (for example when the item still has active * bookings). Return true to allow, or false / WP_Error to block. */ apply_filters( 'zaplane/gembooking_can_remove_bookable', true, $post, $kind, $mode ); -
/** * Filter the agent node before the assistant runs — add tools, change the * prompt, or swap the task. */ apply_filters( 'zaplane/inbox/ai_node', $node, $conversation ); -
/** * Filter the capability needed to work in the inbox. */ apply_filters( 'zaplane/inbox/capability', 'manage_options' ); -
/** * Filter the inbox channels, keyed by slug. Each value is a class implementing * ChannelInterface. */ apply_filters( 'zaplane/inbox/channels', $channels ); -
/** * The workflow steps that connect channels and sources to the inbox, from * active workflows. Add to it to connect a channel another way. */ apply_filters( 'zaplane/inbox/connector_nodes', self::$nodes ); -
/** * Throwaway-inbox domains to refuse. */ apply_filters( 'zaplane/inbox/disposable_email_domains', self::DISPOSABLE ); -
/** * Short-circuit the DNS lookup: return a bool to decide, null to look. */ apply_filters( 'zaplane/inbox/email_domain_takes_mail', null, $domain ); -
/** * Cosine thresholds [ strong, medium ] for a strictness level. Tune these to * your embedding model; the Inbox settings "Test a question" box shows the * scores your own questions get. */ apply_filters( 'zaplane/inbox/knowledge_thresholds', self::THRESHOLDS[ $strictness ] ?? self::THRESHOLDS['balanced'], $strictness ); -
/** * A customer message was stored. Workflows listen here. */ do_action( 'zaplane/inbox/message_received', $payload ); -
/** * An order was placed from a conversation. */ do_action( 'zaplane/inbox/order_created', Conversations::payload( $conversation, [ 'order_id' => (int) $result['id'], 'order_number' => (string) $result['number'], 'order_total' => (string) $result['total_text'], 'store' => $store::slug(), 'placed_by' => $placed_by, ] ) ); -
/** * Whether to show the chat widget on this page. */ apply_filters( 'zaplane/inbox/show_widget', true ); -
/** * Filter the shops the inbox can sell from, in order of preference. */ apply_filters( 'zaplane/inbox/stores', $stores ); -
/** * A verified delivery arrived for an integration, before it is parsed into a * workflow event. Lets other parts of Zaplane (the Inbox) read the whole * delivery, including events no trigger handles. */ do_action( 'zaplane/incoming_webhook', (string) $slug, $request ); -
/** * Supply a conversation's history from the Inbox. */ apply_filters( 'zaplane/memory/inbox_history', null, $key, $limit ); -
/** * Filter which module leads the spotlight on each screen. */ apply_filters( 'zaplane/module_screen_relevance', $map ); -
/** * Filter the registered modules. */ apply_filters( 'zaplane/modules', $modules ); -
/** * A run has finished: every step completed, or a step failed. */ do_action( 'zaplane/run/finished', $run ); -
/** * Fires when a realtime push could not be delivered. */ do_action( 'zaplane/socket/push_failed', $error, $channel, $event ); -
/** * Whether this trigger event should start a run of this workflow. The Inbox * uses it so a workflow that replies to customers doesn't run for a * conversation the AI assistant or the team is answering. */ apply_filters( 'zaplane/trigger/should_start', true, $trigger, $payload ); -
do_action( 'zaplane_remote_trigger_error', $e ); -
apply_filters( 'mec_taxonomy_tag', '' ); -
apply_filters( 'zaplane_allow_remote_pairing', true ); -
apply_filters( 'zaplane_knowledge_max_scan', self::SCAN ); -
apply_filters( 'zaplane_remote_watch_apps', [ 'wordpress' ] ); -
apply_filters( 'zaplane_webhook_app_secret', $secret, 'messenger' ); -
do_action( 'zaplane/inbox/conversation_created', $payload ); -
do_action( 'zaplane/inbox/handed_to_human', self::payload( $conversation, [ 'reason' => $reason ] ) ); -
{$is_new?}zaplane_em_location_created{:}zaplane_em_location_updated
action Copy link Customise this hookdo_action( "{$is_new?}zaplane_em_location_created{:}zaplane_em_location_updated", $em_location ); -
do_action( "{$solved?}wpforo_topic_solved{:}wpforo_topic_unsolved", self::get_topic_row( $topic_id ), self::first_post( $topic ) ); -
do_action( 'academy/admin/course_complete_after', $course_id, $user_id ); -
do_action( 'academy/admin/course_complete_before', $course_id ); -
academy/frontend/after_mark_topic_complete
action Used by 2 plugins → Copy link Customise this hookdo_action( 'academy/frontend/after_mark_topic_complete', 'lesson', $course_id, $lesson_id, $user_id ); -
academy/frontend/before_mark_topic_complete
action Used by 2 plugins → Copy link Customise this hookdo_action( 'academy/frontend/before_mark_topic_complete', 'lesson', $course_id, $lesson_id, $user_id ); -
apply_filters( 'acfw_advanced_clone_coupon_code_suffix', '-clone' ); -
do_action( 'acfw_after_save_coupon', $coupon->get_id(), $coupon ); -
do_action( 'acfw_before_save_coupon', $coupon->get_id(), $coupon ); -
do_action( 'acfw_save_coupon', $coupon->get_id(), $coupon ); -
do_action( 'acfwf_send_advanced_coupon_email', $coupon, $customer ); -
do_action( 'acfwf_send_store_credit_adjustment_email', $entry, $entry->get_customer() ); -
archive_card{===$action?}gemboards/card/archived{:}gemboards/card/restored
action Copy link Customise this hookdo_action( "archive_card{===$action?}gemboards/card/archived{:}gemboards/card/restored", $card ); -
do_action( 'gemboards/card/description_updated', $id, $post_update['post_content'] ); -
do_action( 'gemboards/card/moved', $id, $column_id ); -
do_action( 'gemboards/card/title_updated', $id, $post_update['post_title'] ); -
do_action( 'mec_booking_completed', $booking_id ); -
do_action( 'pmxi_before_import_delete', $import, $delete_posts ); -
do_action( 'rafflepress_post_entry_add', [ 'giveaway_id' => $giveaway_id, 'contestant_id' => (int) $contestant->id, 'action_id' => $task_id, 'entry_option_meta' => $meta, ] ); -
storeengine/membership/user_added_to_group
action Used by 2 plugins → Copy link Customise this hookdo_action( 'storeengine/membership/user_added_to_group', $user_id, $group_id ); -
storeengine/membership/user_removed_from_group
action Used by 2 plugins → Copy link Customise this hookdo_action( 'storeengine/membership/user_removed_from_group', $user_id, $gid ); -
do_action( 'wlr_after_admin_add_new_customer', $email, $action_data ); -
apply_filters( 'wlr_before_add_to_loyalty_customer', true, $wp ? (int) $wp->ID : 0, $email ); -
do_action( 'wpforo_answer', $status, $post ); -
do_action( 'wpforo_react_post', $reaction, $post ); -
apply_filters( 'zaplane_ai_pricing', [ 'claude-opus-4-8' => [ 15.0, 75.0 ], 'claude-sonnet-4-6' => [ 3.0, 15.0 ], 'claude-haiku-4-5' => [ 1.0, 5.0 ], 'gpt-4o' => [ 2.5, 10.0 ], 'gpt-4o-mini' => [ 0.15, 0.6 ], 'text-embedding-3-small' => [ 0.02, 0.0 ], 'text-embedding-3-large' => [ 0.13, 0.0 ], ] ); -
apply_filters( 'zaplane_customapp_local_blocked_callables', self::BLOCKED_CALLABLES, static::get_slug() ); -
do_action( 'zaplane_customapp_poll_error', $e, $workflow, $node ); -
do_action( 'zaplane_em_event_updated', $em_event ); -
do_action( 'zaplane_gemcrm_contact_birthday', $contact ); -
do_action( 'zaplane_gemcrm_form_submitted', [ 'form_id' => $form_id, 'email' => $email, 'contact' => self::find_form_submit_contact( $contact_id ), 'fields' => $fields, ] ); -
do_action( 'zaplane_google_docs_poll_error', $e, $workflow, $node ); -
do_action( 'zaplane_google_sheets_poll_error', $e, $workflow, $node ); -
do_action( 'zaplane_init' ); -
apply_filters( 'zaplane_integration_required_plugins', $required, $slug ); -
apply_filters( 'zaplane_integrations', self::$registry ); -
apply_filters( 'zaplane_knowledge_faq_boost', 1.15 ); -
apply_filters( 'zaplane_knowledge_hybrid_weights', [ 'vector' => 0.6, 'keyword' => 0.4, ] ); -
do_action( 'zaplane_listener_poll_node', $workflowId, $target['node'] ); -
do_action( 'zaplane_loaded' ); -
apply_filters( 'zaplane_mcp_restricted_actions', [] ); -
do_action( 'zaplane_register_recipes', $this ); -
apply_filters( 'zaplane_remote_run_apps', [ 'wordpress' ] ); -
apply_filters( 'zaplane_remote_trigger_apps', [] ); -
apply_filters( 'zaplane_remote_trigger_poll_interval', self::INTERVAL ); -
apply_filters( 'zaplane_reserved_merge_tag_roots', $roots ); -
apply_filters( 'zaplane_webhook_setting', $value, $key, $slug ); -
apply_filters( 'zaplane_webhook_verify_token', $token, $slug ); -
do_action( 'zaplane_workflow_updated', $workflowId ); -
apply_filters( 'zaplane_zencommunity_pro_action', null, $event, $config, $input ); -
apply_filters( 'zaplane_zencommunity_pro_available', $available ); -
apply_filters( 'zaplane/gembooking_action', null, 'create_staff', $config, $input ); -
apply_filters( 'zaplane/gembooking_addon_active', $active, $addon ); -
apply_filters( 'zaplane/gembooking_bookable_meta_map', $map, $kind ); -
apply_filters( 'zaplane/gembooking_sms_settings', [], $channel ); -
do_action( 'zaplane/inbox/conversation_assigned', self::payload( $conversation ) ); -
do_action( 'zaplane/inbox/conversation_closed', self::payload( $conversation ) ); -
do_action( 'zaplane/inbox/message_sent', Conversations::payload( $conversation, [ 'message_id' => (int) $message->id, 'text' => $body, 'sender_type' => $sender_type, 'status' => (string) $message->delivery_status, ] ) ); -
apply_filters( 'zaplane/presto_player_pro_active', $active ); -
apply_filters( 'zaplane/siteorigin_min_version', self::MIN_VERSION ); -
apply_filters( 'zaplane/ssa_feature_active', $active, $feature ); -
apply_filters( 'zaplane/ssa_min_version', self::MIN_VERSION ); -
do_action( 'zenappbuilder/app_event_received', $event_name, $payload, $app_id ); -
do_action( 'zenappbuilder/app_version_created', $app_id, $version, $title, $content, $release_ids ); -
do_action( 'zenappbuilder/app_version_restored', $app_id, $version, $decoded ); -
do_action( 'zencommunity/event/created', $eid, $gid, $fields );
Generated from Zaplane'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: