AI icon
AI Tools

AI hooks reference

  • By WordPress.org
  • v1.5.0
  • Updated

AI 1.5.0 has 14 actions and 108 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 AI fires an action
add_action( 'admin_footer', function( $hook_suffix ) {
	// Your code runs here.
}, 10, 1 );

// Change a value AI is about to use
add_filter( 'the_content', function( $post_content ) {
	// Change $post_content here.
	return $post_content;
}, 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

  • the_content

    filter
    includes/Abilities/Content/Content.php line 1717 · used in 5 places
    /**
     * This filter is documented in wp-includes/post-template.php
     */
    apply_filters( 'the_content', $post->post_content );
  • includes/Embeddings/Sync/Post_Source.php line 97 · used in 2 places
    /**
     * Filters whether an object should have synchronized embeddings.
     */
    apply_filters( 'wpai_embedding_sync_is_indexable', $indexable, self::OBJECT_TYPE, $object_id );
  • includes/Admin/Site_Health.php line 57 · used in 2 places
    /**
     * This filter is documented in includes/Features/Loader.php
     */
    apply_filters( 'wpai_features_enabled', true );
  • includes/Abilities/Speech/Generate_Speech.php line 148 · used in 2 places
    /**
     * This filter is documented in
     * includes/Experiments/Text_To_Speech/Job_Manager.php
     */
    apply_filters( 'wpai_tts_max_chunk_length', 4000, $post_id );
  • admin_head

    action
    build/pages/ai/page.php line 281
    /**
     * This action is documented in wp-admin/admin-header.php
     */
    do_action( 'admin_head' );
  • build/pages/ai/page.php line 278
    /**
     * This action is documented in wp-admin/admin-header.php
     */
    do_action( "admin_head-{$hook_suffix}" );
  • build/pages/ai/page.php line 229
    /**
     * Filters the boot script-module dependencies for the ai page.
     */
    apply_filters( 'ai_boot_dependencies', $boot_dependencies );
  • ai_init

    action
    build/pages/ai/page.php line 141
    /**
     * Fires when the ai page is initialized so extensions can register routes and
     * menu items.
     */
    do_action( 'ai_init' );
  • build/pages/ai/page-wp-admin.php line 245
    /**
     * Filters the boot script-module dependencies for the ai-wp-admin page.
     */
    apply_filters( 'ai-wp-admin_boot_dependencies', $boot_dependencies );
  • build/pages/ai/page-wp-admin.php line 141
    /**
     * Fires when the ai admin page is initialized so extensions can register
     * routes and menu items.
     */
    do_action( 'ai-wp-admin_init' );
  • includes/Abilities/Content/Content.php line 1696
    /**
     * This filter is documented in wp-includes/post-template.php
     */
    apply_filters( 'get_the_excerpt', $post->post_excerpt, $post );
  • includes/Abilities/Image/Alt_Text_Generation.php line 681
    /**
     * This filter is documented in wp-includes/http.php
     */
    apply_filters( 'http_request_host_is_external', false, $host, $url );
  • the_excerpt

    filter
    includes/Abilities/Content/Content.php line 1699
    /**
     * This filter is documented in wp-includes/post-template.php
     */
    apply_filters( 'the_excerpt', $excerpt );
  • includes/Abstracts/Abstract_Ability.php line 393
    /**
     * Filters the assembled user prompt for the ability.
     */
    apply_filters( "wpai_{$this->get_ability_slug()}_prompt", $prompt, ...$filter_args );
  • includes/Abstracts/Abstract_Ability.php line 426
    /**
     * Filters the configured prompt builder for the ability.
     */
    apply_filters( "wpai_{$this->get_ability_slug()}_prompt_builder", $prompt_builder, ...$filter_args );
  • includes/Abstracts/Abstract_Ability.php line 218
    /**
     * Filters the system instruction for a specific ability.
     */
    apply_filters( "wpai_{$this->get_ability_slug()}_system_instruction", $instruction, $data );
  • includes/Experiments/Abilities_Explorer/Ability_Handler.php line 251
    /**
     * Filters the final resolved category for a specific ability.
     */
    apply_filters( 'wpai_ability_category', $category_label, $slug );
  • includes/Abilities/Image/Alt_Text_Generation.php line 557
    /**
     * Filters the allowed image MIME types.
     */
    apply_filters( 'wpai_alt_text_allowed_image_mime_types', self::ALLOWED_IMAGE_MIME_TYPES );
  • includes/Abilities/Image/Alt_Text_Generation.php line 759
    /**
     * Filters the timeout, in seconds, for downloading a remote image for alt text
     * generation.
     */
    apply_filters( 'wpai_alt_text_image_download_timeout', self::DEFAULT_DOWNLOAD_TIMEOUT, $url );
  • includes/Abilities/Image/Alt_Text_Generation.php line 769
    /**
     * Filters the maximum size, in bytes, of a remote image downloaded for alt
     * text generation.
     */
    apply_filters( 'wpai_alt_text_image_max_download_bytes', self::DEFAULT_MAX_DOWNLOAD_BYTES, $url );
  • includes/helpers.php line 946
    /**
     * Filters the maximum number of items a single bulk action may process.
     */
    apply_filters( 'wpai_bulk_action_max_items', 100, $feature_id );
  • includes/Abilities/Comment_Moderation/Comment_Analysis.php line 285
    /**
     * Filters whether a post's content may be sent as comment analysis context.
     */
    apply_filters( 'wpai_comment_analysis_post_context_shareable', $shareable, $post );
  • includes/Abilities/Comment_Moderation/Comment_Analysis.php line 215
    /**
     * Filters the JSON schema used for the output of the comment analysis.
     */
    apply_filters( 'wpai_comment_analysis_response_schema', $schema );
  • includes/Abilities/Comment_Moderation/Comment_Analysis.php line 325
    /**
     * Filters the comment analysis result before calling the AI provider.
     */
    apply_filters( 'wpai_comment_analysis_result', null, $content, $author, $post_id );
  • includes/Experiments/Comment_Moderation/Comment_Moderation.php line 453
    /**
     * Filters the comment types that are automatically moderated.
     */
    apply_filters( 'wpai_comment_moderation_comment_types', array( 'comment' ), $comment );
  • includes/Experiments/Comment_Moderation/Comment_Moderation.php line 430
    /**
     * Filters whether to moderate guest comments.
     */
    apply_filters( 'wpai_comment_moderation_moderate_guests', $should_moderate );
  • includes/Experiments/Comment_Moderation/Comment_Moderation.php line 507
    /**
     * Filters whether the comment should be moderated.
     */
    apply_filters( 'wpai_comment_moderation_should_moderate', $should_moderate, $analysis, $comment_id );
  • includes/Experiments/Comment_Moderation/Comment_Moderation.php line 600
    /**
     * Filters whether to show AI sentiment and toxicity pills in the dashboard.
     */
    apply_filters( 'wpai_comment_moderation_show_dashboard_pills', true, $comment_id, $comment );
  • includes/Abilities/Content_Classification/Content_Classification.php line 412
    /**
     * Filters the candidate pool of existing terms surfaced to the model as
     * `<available-terms>`.
     */
    apply_filters( 'wpai_content_classification_available_terms', $available_terms, $taxonomy, $strategy );
  • includes/Abilities/Content_Classification/Content_Classification.php line 784
    /**
     * Filters the maximum number of existing terms fetched for the candidate pool
     * surfaced to the model under the `existing_only` strategy.
     */
    apply_filters( 'wpai_content_classification_candidate_pool_size', $limit, $taxonomy );
  • includes/Experiments/Content_Classification/Content_Classification.php line 315
    /**
     * Filters the maximum number of suggestions to generate for content
     * classification.
     */
    apply_filters( 'wpai_content_classification_max_suggestions', $max_suggestions );
  • includes/Abilities/Content_Classification/Content_Classification.php line 645
    /**
     * Filters the minimum confidence threshold for a suggestion to be returned.
     * Suggestions with confidence below this value are dropped before sorting and
     * limiting to `max_suggestions`.
     */
    apply_filters( 'wpai_content_classification_min_confidence', self::MIN_CONFIDENCE, $taxonomy, $strategy );
  • includes/Abilities/Content_Classification/Content_Classification.php line 453
    /**
     * Filters the prompt string before it is sent to the AI model for taxonomy
     * suggestion generation.
     */
    apply_filters( 'wpai_content_classification_prompt', $prompt, $context, $taxonomy, $assigned_terms, $available_terms );
  • includes/Experiments/Content_Classification/Content_Classification.php line 290
    /**
     * Filters the strategy to use for content classification.
     */
    apply_filters( 'wpai_content_classification_strategy', $strategy );
  • includes/Abilities/Content_Classification/Content_Classification.php line 493
    /**
     * Filters the parsed taxonomy suggestions before they are returned to the
     * client.
     */
    apply_filters( 'wpai_content_classification_suggestions', $suggestions, $taxonomy, $strategy );
  • includes/Experiments/Content_Translation/Languages.php line 83
    /**
     * Filters supported target languages for AI content translation.
     */
    apply_filters( 'wpai_content_translation_languages', $languages );
  • includes/Features/Loader.php line 120
    /**
     * Filters the list of default feature classes.
     */
    apply_filters( 'wpai_default_feature_classes', $feature_classes );
  • includes/helpers.php line 926
    /**
     * Filters the default request timeout for a feature.
     */
    apply_filters( 'wpai_default_request_timeout', $default_timeout, $feature_id );
  • includes/Embeddings/Sync/Backfill_Manager.php line 371
    /**
     * Fires when a backfill has visited every covered object and finished its
     * orphan sweep.
     */
    do_action( 'wpai_embedding_sync_backfill_completed', $target );
  • includes/Embeddings/Sync/Sync_Worker.php line 645
    /**
     * Filters how many objects the embedding sync worker handles per batch.
     */
    apply_filters( 'wpai_embedding_sync_batch_size', self::DEFAULT_BATCH_SIZE );
  • includes/Embeddings/Sync/Post_Source.php line 117
    /**
     * Filters the post statuses whose posts get synchronized embeddings.
     */
    apply_filters( 'wpai_embedding_sync_indexable_post_statuses', array( 'publish' ) );
  • includes/Embeddings/Sync/Sync_Worker.php line 683
    /**
     * Filters how many attempts a queued object gets before it is marked failed.
     */
    apply_filters( 'wpai_embedding_sync_max_attempts', self::DEFAULT_MAX_ATTEMPTS );
  • includes/Embeddings/Sync/Object_Processor.php line 719
    /**
     * Filters the maximum number of chunks embedded per object.
     */
    apply_filters( 'wpai_embedding_sync_max_chunks', self::DEFAULT_MAX_CHUNKS );
  • includes/Embeddings/Sync/Sync_Worker.php line 442
    /**
     * Fires when a queued object is marked permanently failed.
     */
    do_action( 'wpai_embedding_sync_object_failed', $item->get_object_type(), $item->get_object_id(), $result->get_message() );
  • includes/Embeddings/Sync/Object_Processor.php line 613
    /**
     * Fires after an object's vectors are stored for a target.
     */
    do_action( 'wpai_embedding_sync_object_indexed', $object_type, $object_id, $target );
  • includes/Embeddings/Sync/Post_Source.php line 147
    /**
     * Filters the text embedded for a post.
     */
    apply_filters( 'wpai_embedding_sync_post_text', $text, $post );
  • includes/Embeddings/Sync/Object_Processor.php line 360
    /**
     * Filters the maximum number of inputs sent in one embedding request.
     */
    apply_filters( 'wpai_embedding_sync_request_max_inputs', self::DEFAULT_MAX_INPUTS );
  • includes/Embeddings/Sync/Change_Listener.php line 123
    /**
     * Filters whether to skip queueing a changed object.
     */
    apply_filters( 'wpai_embedding_sync_skip_enqueue', false, $object_type, $object_id );
  • includes/Embeddings/Sync/Sync_Worker.php line 665
    /**
     * Filters how many stored objects the end-of-backfill orphan sweep checks per
     * batch.
     */
    apply_filters( 'wpai_embedding_sync_sweep_batch_size', self::SWEEP_BATCH_SIZE );
  • includes/Embeddings/Sync/Term_Source.php line 104
    /**
     * Filters the text embedded for a term.
     */
    apply_filters( 'wpai_embedding_sync_term_text', $text, $term );
  • includes/Embeddings/Sync/Sync_Worker.php line 251
    /**
     * Filters how long one WP-Cron run of the embedding sync worker may work.
     */
    apply_filters( 'wpai_embedding_sync_time_budget', self::DEFAULT_TIME_BUDGET );
  • includes/Experiments/Type_Ahead/Type_Ahead.php line 156
    /**
     * Filters the type-ahead settings.
     */
    apply_filters( "wpai_feature_{$this->get_id()}_settings", $settings );
  • includes/Abstracts/Abstract_Feature.php line 261
    /**
     * Filters the enabled status for a specific feature.
     */
    apply_filters( "wpai_feature_{$this->id}_enabled", $is_enabled );
  • includes/Features/Loader.php line 226
    /**
     * Fires after all features have been initialized.
     */
    do_action( 'wpai_features_initialized' );
  • includes/Abilities/Gated/Gated_Abilities.php line 61
    /**
     * Filters the list of gated ability classes.
     */
    apply_filters( 'wpai_gated_abilities', self::GATED_ABILITY_CLASSES );
  • includes/Abilities/Image/Import_Base64_Image.php line 289
    /**
     * Filters the base filename (without extension) used when importing an
     * AI-generated image.
     */
    apply_filters( 'wpai_generated_image_filename', $args['filename'], $args );
  • includes/Abilities/Utilities/Posts.php line 317
    /**
     * Filters the post details returned by get_post_details().
     */
    apply_filters( 'wpai_get_post_details', $details, $post_id, $fields );
  • includes/Abilities/Utilities/Posts.php line 394
    /**
     * Filters the terms returned by the get-post-terms ability.
     */
    apply_filters( 'wpai_get_post_terms', $terms, $post_id, $allowed_taxonomies );
  • includes/helpers.php line 629
    /**
     * Filters whether AI credentials are available.
     */
    apply_filters( 'wpai_has_ai_credentials', $has_credentials, $connectors );
  • includes/helpers.php line 700
    /**
     * Filters whether image generation is supported.
     */
    apply_filters( 'wpai_has_image_generation_support', has_capability_support( CapabilityEnum::IMAGE_GENERATION ), get_ai_connectors() );
  • includes/helpers.php line 737
    /**
     * Filters whether text to speech conversion is supported.
     */
    apply_filters( 'wpai_has_text_to_speech_support', has_capability_support( CapabilityEnum::TEXT_TO_SPEECH_CONVERSION ), get_ai_connectors() );
  • includes/Admin/Dashboard/AI_Status_Widget.php line 286
    /**
     * Filters whether an AI connector is configured.
     */
    apply_filters( "wpai_is_{$slug}_connector_configured", $configured, $connector_data );
  • includes/Experiments/Markdown_Feeds/Markdown_Comment_Renderer.php line 276
    /**
     * Filters the Markdown sections for a single comment, in the site-wide comment
     * feed and in a singular document's Comments section.
     */
    apply_filters( 'wpai_markdown_comment_sections', $sections, $comment );
  • includes/Experiments/Markdown_Feeds/Markdown_Feed_Renderer.php line 155
    /**
     * Filters the Markdown sections for a single feed item.
     */
    apply_filters( 'wpai_markdown_feed_item_sections', $sections, $post );
  • includes/Experiments/Markdown_Feeds/Markdown_Comment_Renderer.php line 128
    /**
     * Filters the comment query arguments for the Comments section of a singular
     * Markdown document.
     */
    apply_filters( 'wpai_markdown_singular_comments_args', $args, $post );
  • includes/Experiments/Markdown_Feeds/Markdown_Singular_Renderer.php line 101
    /**
     * Filters the Markdown sections for a singular post document.
     */
    apply_filters( 'wpai_markdown_singular_sections', $sections, $post );
  • includes/Services/Guidelines.php line 382
    /**
     * Filters the maximum character length per guideline scope.
     */
    apply_filters( 'wpai_max_guideline_length', $max_length );
  • includes/Experiments/MCP_Adapter/Plugin_Installer.php line 346
    /**
     * Filters the WordPress.org slug of the MCP Adapter companion plugin.
     */
    apply_filters( 'wpai_mcp_adapter_plugin_slug', 'mcp-adapter' );
  • includes/Experiments/Meta_Description/Meta_Description.php line 205
    /**
     * Filter the meta description output. An empty string will prevent output.
     */
    apply_filters( 'wpai_meta_description', $meta_description );
  • includes/Abilities/Meta_Description/SEO_Integration.php line 210
    /**
     * Filters the meta key used to store the meta description.
     */
    apply_filters( 'wpai_meta_description_meta_key', $key, $plugin_slug );
  • includes/Abilities/Meta_Description/Meta_Description.php line 262
    /**
     * Filters the prompt content sent to the AI model for meta description
     * generation.
     */
    apply_filters( 'wpai_meta_description_prompt', $prompt, $content, $title );
  • includes/Abilities/Meta_Description/Meta_Description.php line 308
    /**
     * Filters the temperature for the result of the meta description generation.
     */
    apply_filters_deprecated( 'wpai_meta_description_result_temperature', array( 0.7 ), '1.3.0' );
  • includes/Abilities/Meta_Description/SEO_Integration.php line 83
    /**
     * Filters the list of supported SEO plugins for meta description integration.
     */
    apply_filters( 'wpai_meta_description_seo_plugins', $plugins );
  • includes/helpers.php line 905
    /**
     * Filters the minimum content length required for a feature.
     */
    apply_filters( 'wpai_min_content_length', $content_length, $feature_id );
  • includes/helpers.php line 92
    /**
     * Filters the normalized content to allow for additional cleanup.
     */
    apply_filters( 'wpai_normalize_content', (string) $content );
  • includes/helpers.php line 804
    /**
     * Filters whether valid AI credentials are available.
     */
    apply_filters( 'wpai_pre_has_valid_credentials_check', null );
  • includes/Experiments/MCP_Adapter/Plugin_Installer.php line 227
    /**
     * Short-circuits the automatic install of the MCP Adapter plugin.
     */
    apply_filters( 'wpai_pre_mcp_adapter_autoinstall', null, $state );
  • includes/helpers.php line 55
    /**
     * Hook to filter content before cleaning it.
     */
    apply_filters( 'wpai_pre_normalize_content', $content );
  • includes/helpers.php line 395
    /**
     * Filters the preferred image models.
     */
    apply_filters( 'wpai_preferred_image_models', $preferred_models );
  • includes/helpers.php line 463
    /**
     * Filters the preferred models for text to speech conversion.
     */
    apply_filters( 'wpai_preferred_speech_models', $preferred_models );
  • includes/helpers.php line 322
    /**
     * Filters the preferred models for text generation.
     */
    apply_filters( 'wpai_preferred_text_models', $preferred_models );
  • includes/helpers.php line 437
    /**
     * Filters the preferred vision models.
     */
    apply_filters( 'wpai_preferred_vision_models', $preferred_models );
  • includes/Features/Loader.php line 96
    /**
     * Allows registration of custom features.
     */
    do_action( 'wpai_register_features', $this->registry );
  • includes/Admin/Uninstall.php line 117
    /**
     * Filters whether the plugin should remove all of its data on uninstall.
     */
    apply_filters( 'wpai_remove_data_on_uninstall', true );
  • includes/Logging/Log_Data_Extractor.php line 179
    /**
     * Filters the log context data.
     */
    apply_filters( 'wpai_request_log_context', $context, $decoded, $log_data );
  • includes/Logging/Log_Data_Extractor.php line 324
    /**
     * Filters the detected request kind.
     */
    apply_filters( 'wpai_request_log_kind', 'text', $provider, $path, $payload );
  • includes/Logging/Log_Data_Extractor.php line 77
    /**
     * Filters the provider detection patterns used to label log entries.
     */
    apply_filters( 'wpai_request_log_providers', $patterns );
  • includes/Logging/AI_Request_Log_Manager.php line 113
    /**
     * Filters the retention period for AI request logs.
     */
    apply_filters( 'wpai_request_log_retention_days', 0 );
  • includes/Logging/Log_Data_Extractor.php line 257
    /**
     * Filters the extracted token usage.
     */
    apply_filters( 'wpai_request_log_tokens', array( 'input' => $input, 'output' => $output, ), $response );
  • includes/Logging/AI_Request_Log_Repository.php line 131
    /**
     * Fires after an AI request is logged.
     */
    do_action( 'wpai_request_logged', $log_id, $insert_data );
  • includes/Abilities/Revision_Change_Summary/Revision_Change_Summary.php line 746
    /**
     * Filters the maximum length of the revision diff sent to the model.
     */
    apply_filters( 'wpai_revision_change_summary_max_diff_length', self::MAX_DIFF_LENGTH_DEFAULT );
  • includes/Settings/Settings_Page.php line 197
    /**
     * Filters feature group metadata used by the settings UI.
     */
    apply_filters( 'wpai_settings_feature_groups', $default_groups );
  • includes/Settings/Settings_Page.php line 366
    /**
     * Filters settings metadata passed to the settings route client.
     */
    apply_filters( 'wpai_settings_feature_metadata', $metadata, $registry );
  • includes/Experiments/Slug_Generation/Slug_Generation.php line 116
    /**
     * Filters the default number of slug suggestions to generate for the editor
     * UI.
     */
    apply_filters( 'wpai_slug_generation_number_of_suggestions', 3 );
  • includes/Abilities/Suggest_Reply/Suggest_Reply.php line 186
    /**
     * Filters whether a post's title and excerpt may be sent as reply suggestion
     * context.
     */
    apply_filters( 'wpai_suggest_reply_post_context_shareable', $shareable, $post );
  • includes/Experiments/Summarization/Summarization.php line 202
    /**
     * Filters the minimum content length required to enable summarization.
     */
    apply_filters_deprecated( 'wpai_summarization_min_content_length', array( get_min_content_length( 'summarization', 250 ) ), '1.1.0', 'wpai_min_content_length' );
  • includes/Abstracts/Abstract_Ability.php line 202
    /**
     * Filters the system instruction for an ability.
     */
    apply_filters( 'wpai_system_instruction', $instruction, $this->get_name(), $data );
  • includes/Experiments/Text_To_Speech/Job_Manager.php line 614
    /**
     * Filters the base filename (without extension) used when importing generated
     * post audio.
     */
    apply_filters( 'wpai_tts_audio_filename', sprintf( 'post-audio-%d-%s', $post_id, strtolower( wp_generate_password( 12, false ) ) ), $post_id );
  • includes/Experiments/Text_To_Speech/Voice_Resolver.php line 122
    /**
     * Filters the default voice used for text to speech when none is configured.
     */
    apply_filters( 'wpai_tts_default_voice', $voice, $provider_id, $model_id );
  • includes/Experiments/Text_To_Speech/Job_Manager.php line 501
    /**
     * Filters how long a text to speech job may wait for WP-Cron to start it
     * before it is failed.
     */
    apply_filters( 'wpai_tts_pending_timeout', self::PENDING_TIMEOUT_SECONDS, $post_id );
  • includes/Experiments/Text_To_Speech/Text_To_Speech.php line 307
    /**
     * Filters the audio player markup rendered above post content.
     */
    apply_filters( 'wpai_tts_player_markup', $player, $post_id, $audio_id );
  • includes/Experiments/Text_To_Speech/Speech_Generator.php line 78
    /**
     * Short-circuits text to speech generation for a single chunk.
     */
    apply_filters( 'wpai_tts_pre_generate_chunk', null, $text, $voice, $mime_type );
  • includes/Experiments/Text_To_Speech/Job_Manager.php line 535
    /**
     * Filters how long a text to speech job may go without progress before it is
     * failed.
     */
    apply_filters( 'wpai_tts_processing_timeout', $timeout, $post_id );
  • includes/Experiments/Text_To_Speech/Voice_Resolver.php line 73
    /**
     * Filters the voices offered for text to speech.
     */
    apply_filters( 'wpai_tts_supported_voices', $values, $resolved['provider_id'] ?? '', $resolved['model_id'] ?? '' );
  • includes/Services/Guidelines.php line 360
    /**
     * Filters whether guidelines integration is enabled.
     */
    apply_filters( 'wpai_use_guidelines', true );
  • includes/Experiments/WebMCP/WebMCP.php line 136
    /**
     * Filters how many tools one page may register with the browser.
     */
    apply_filters( 'wpai_webmcp_max_tools', self::DEFAULT_MAX_TOOLS );
  • includes/Deprecated.php line 151
    apply_filters_deprecated( 'ai_experiments_enabled', array( $enabled ), '0.6.0', 'wpai_features_enabled', esc_html__( 'This filter will be removed in v1.0', 'ai' ) );
  • includes/Abstracts/Abstract_Feature.php line 244
    apply_filters_deprecated( "ai_experiments_experiment_{$this->id}_enabled", array( $feature_enabled ), '0.6.0', "wpai_feature_{$this->id}_enabled", esc_html__( 'This will be removed in v1.0', 'ai' ) );
  • includes/Deprecated.php line 187
    do_action_deprecated( 'ai_experiments_initialized', array(), '0.6.0', 'wpai_features_initialized', esc_html__( 'This action will be removed in v1.0', 'ai' ) );
  • includes/Deprecated.php line 56
    apply_filters_deprecated( 'ai_experiments_normalize_content', array( $content ), '0.6.0', 'wpai_normalize_content', esc_html__( 'This filter will be removed in v1.0', 'ai' ) );
  • includes/Deprecated.php line 132
    apply_filters_deprecated( 'ai_experiments_pre_has_valid_credentials_check', array( $valid ), '0.6.0', 'wpai_pre_has_valid_credentials_check', esc_html__( 'This filter will be removed in v1.0', 'ai' ) );
  • includes/Deprecated.php line 37
    apply_filters_deprecated( 'ai_experiments_pre_normalize_content', array( $content ), '0.6.0', 'wpai_pre_normalize_content', esc_html__( 'This filter will be removed in v1.0', 'ai' ) );
  • includes/Deprecated.php line 94
    apply_filters_deprecated( 'ai_experiments_preferred_image_models', array( $models ), '0.6.0', 'wpai_preferred_image_models', esc_html__( 'This filter will be removed in v1.0', 'ai' ) );
  • includes/Deprecated.php line 75
    apply_filters_deprecated( 'ai_experiments_preferred_models_for_text_generation', array( $models ), '0.6.0', 'wpai_preferred_text_models', esc_html__( 'This filter will be removed in v1.0', 'ai' ) );
  • includes/Deprecated.php line 113
    apply_filters_deprecated( 'ai_experiments_preferred_vision_models', array( $models ), '0.6.0', 'wpai_preferred_vision_models', esc_html__( 'This filter will be removed in v1.0', 'ai' ) );
  • includes/Deprecated.php line 169
    do_action_deprecated( 'ai_experiments_register_experiments', array( $registry ), '0.6.0', 'wpai_register_features', esc_html__( 'This action will be removed in v1.0', 'ai' ) );
  • comment_text

    filter
    includes/Experiments/Markdown_Feeds/Markdown_Comment_Renderer.php line 256
    apply_filters( 'comment_text', get_comment_text( $comment ), $comment, array() );
  • includes/Experiments/Markdown_Feeds/Markdown_Feed_Renderer.php line 108
    apply_filters( 'the_excerpt_rss', get_the_excerpt( $post ) );
  • includes/Experiments/WebMCP/WebMCP.php line 110
    apply_filters( 'wpai_webmcp_screens', $defaults );

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