Zorem AI Agent Connector 1.1 has 15 actions and 30 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 Zorem AI Agent Connector fires an action
add_action( 'ai_agent_os_agent_created', function( $agent ) {
// Your code runs here.
}, 10, 1 );
// Change a value Zorem AI Agent Connector is about to use
add_filter( 'ai_agent_os_pii_covered_abilities', 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
-
/** * Filters which abilities have customer personal data masked. */ apply_filters( 'ai_agent_os_pii_covered_abilities', self::ABILITIES ); -
/** * Filters the capabilities an ability requires. */ apply_filters( 'ai_agent_os_ability_required_caps', $caps, $ability ); -
/** * Filters the risk classification of an ability. Raise-only. */ apply_filters( 'ai_agent_os_ability_risk', $risk, $ability ); -
/** * The top tabs, in order. */ apply_filters( 'ai_agent_os_admin_tabs', array( 'settings' => array( 'label' => __( 'Settings', 'zorem-ai-agent-connector' ), 'source' => __DIR__ . '/tabs/settings.php', ), 'agent' => array( 'label' => __( 'Agent', 'zorem-ai-agent-connector' ), 'source' => __DIR__ . '/tabs/agent.php', ), 'activity' => array( 'label' => __( 'Activity Log', 'zorem-ai-agent-connector' ), 'source' => __DIR__ . '/tabs/activity.php', 'pro' => true, ), 'brai... ); -
/** * Fires after the agent is set up. */ do_action( 'ai_agent_os_agent_created', $agent ); -
/** * Fires after the agent is revoked. */ do_action( 'ai_agent_os_agent_revoked', $agent ); -
/** * Fires after the agent's status or expiry is written. */ do_action( 'ai_agent_os_agent_status_changed', $before, $after ); -
/** * Fires after the agent's token is rotated. */ do_action( 'ai_agent_os_agent_token_rotated', $agent ); -
/** * Filters the tools the agent's server lists. It may only remove: a tool the * agent holds no grant on never appears, whatever a filter returns. */ apply_filters( 'ai_agent_os_agent_tools', $tools, $agent ); -
/** * Filters the curated capability map. */ apply_filters( 'ai_agent_os_curated_cap_map', array() ); -
/** * Filters whether one ability is kept off the permission matrix and the MCP * server entirely. */ apply_filters( 'ai_agent_os_hide_ability', false, $ability_name ); -
/** * Filters whether shadow agent users are visible to user queries. */ apply_filters( 'ai_agent_os_include_shadow_users', false ); -
/** * Filters whether `manage_agent_os` survives this uninstall. */ apply_filters( 'ai_agent_os_keep_manage_capability', false ); -
/** * Fires once this plugin has registered its hooks. */ do_action( 'ai_agent_os_loaded', $this ); -
/** * Fires after the agent is given a new MCP address. */ do_action( 'ai_agent_os_mcp_address_replaced', $agent, $code ); -
/** * Fires when the MCP adapter reports an error. */ do_action( 'ai_agent_os_mcp_error', $message, $context, $type ); -
/** * Fires for every MCP adapter observability event. */ do_action( 'ai_agent_os_mcp_event', $event, $tags, $duration_ms ); -
/** * Filters the time the Black Friday offer compares with its dates. */ apply_filters( 'ai_agent_os_offer_now', time() ); -
/** * Filters a permission decision. It may only narrow it: an allow may become a * refusal; a refusal stays a refusal. */ apply_filters( 'ai_agent_os_permission_decision', $decision, $agent, $ability ); -
/** * Filters the abilities whose results are never masked. */ apply_filters( 'ai_agent_os_pii_exempt_abilities', array() ); -
/** * Filters the field names masked as customer personal data. */ apply_filters( 'ai_agent_os_pii_field_list', self::FIELDS ); -
/** * Filters the value substituted for masked personal data. */ apply_filters( 'ai_agent_os_pii_mask_value', $mask, $value ); -
/** * Filters whether this plugin's data survives its uninstall. */ apply_filters( 'ai_agent_os_preserve_data_on_uninstall', false ); -
/** * Filters the email addresses a public assistant may repeat. */ apply_filters( 'ai_agent_os_public_email_addresses', $addresses ); -
/** * Fires once, after the chosen bridge copy is loaded. */ do_action( 'zorem_agent_bridge_loaded', ZOREM_AGENT_BRIDGE_VERSION, $copies ); -
/** * Register bridge providers, features and reason labels. */ do_action( 'zorem_agent_bridge_register', self::registry(), self::features(), self::vocabulary() ); -
apply_filters( 'https_local_ssl_verify', false ); -
do_action( 'litespeed_purge_all' ); -
do_action( 'litespeed_purge_post', $post_id ); -
apply_filters( 'mcp_adapter_create_default_server', true ); -
apply_filters( 'mcp_adapter_default_server_config', $wordpress_defaults ); -
mcp_adapter_default_transport_permission_user_capability
filter Used by 11 plugins → Copy link Customise this hookapply_filters( 'mcp_adapter_default_transport_permission_user_capability', 'read', $context ); -
mcp_adapter_discover_abilities_capability
filter Used by 10 plugins → Copy link Customise this hookapply_filters( 'mcp_adapter_discover_abilities_capability', 'read' ); -
apply_filters( 'mcp_adapter_enable_stdio_transport', true ); -
apply_filters( 'mcp_adapter_execute_ability_capability', 'read' ); -
apply_filters( 'mcp_adapter_get_ability_info_capability', 'read' ); -
do_action( 'mcp_adapter_init', $this ); -
mcp_adapter_observability_record_component_registration
filter Used by 8 plugins → Copy link Customise this hookapply_filters( 'mcp_adapter_observability_record_component_registration', false ); -
apply_filters( 'mcp_adapter_session_inactivity_timeout', self::DEFAULT_INACTIVITY_TIMEOUT ); -
apply_filters( 'mcp_adapter_session_max_per_user', self::DEFAULT_MAX_SESSIONS ); -
apply_filters( 'mcp_adapter_validation_enabled', false ); -
apply_filters( 'rest_url', $url, $path, null, 'rest' ); -
do_action( 'wpfc_clear_all_cache' ); -
do_action( 'wpfc_clear_post_cache_by_id', false, $post_id );
Generated from Zorem AI Agent Connector'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: