Acez SEO AI icon
SEO

Acez SEO AI hooks reference

  • By AcezWorld
  • v0.9.9.38
  • Updated

Acez SEO AI 0.9.9.38 has 9 actions and 52 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.

functions.phpyour child theme
// Run your own code when Acez SEO AI fires an action
add_action( 'acez_seo_metabox_meta_field_actions', function( $post, $arg2, $arg3 ) {
	// Your code runs here.
}, 10, 3 );

// Change a value Acez SEO AI is about to use
add_filter( 'acez_seo_ai_prompt', function( $prompt, $field, $post ) {
	// Change $prompt here.
	return $prompt;
}, 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

  • src/Ai/PromptBuilder.php line 117 · used in 5 places
    /**
     * Filters the prompt sent to the AI provider for a given field.
     */
    apply_filters( 'acez_seo_ai_prompt', $prompt, $field, $post );
  • src/Meta/MetaTagsProvider.php line 209 · used in 3 places
    /**
     * Filters whether Acez SEO should output its own meta tags at all.
     */
    apply_filters( 'acez_seo_should_handle_meta', ! SeoPluginDetector::has_conflict() );
  • src/Schema/SchemaOutput.php line 114 · used in 3 places
    /**
     * Filters whether Acez SEO should output its own JSON-LD graph.
     */
    apply_filters( 'acez_seo_should_handle_schema', ! SeoPluginDetector::has_conflict() );
  • src/Admin/Editor/ClassicMetaBox.php line 290 · used in 2 places
    /**
     * Extra AI actions for this meta field, rendered right after the base plugin's
     * own "Generate with AI" button (M69 Etap 5).
     */
    do_action( 'acez_seo_metabox_meta_field_actions', $post, 'title', 'acez_seo_title' );
  • src/Ai/PromptBuilder.php line 38 · used in 2 places
    /**
     * Filters the raw source content this post "really" has — the default is its
     * own `post_content`, but a filter can append other content (Pro's ACF field
     * allowlist, M30) for sites whose real content lives outside the block editor.
     * Shared with content analysis (M27) — both need the same augmented text.
     */
    apply_filters( 'acez_seo_post_source_content', (string) $post->post_content, $post );
  • src/Admin/Ui/FormControls.php line 273
    /**
     * Filters the icon markup used for a settings-page tab/card.
     */
    apply_filters( 'acez_seo_admin_icon', $icons[ $name ] ?? $icons['post-type'], $name );
  • src/Ai/AiRestController.php line 314
    /**
     * Filters the AI result for a field the base plugin doesn't handle.
     */
    apply_filters( 'acez_seo_ai_generate_for_field', null, $field, $post, $confirmed );
  • src/Ai/AiProviderRegistry.php line 53
    /**
     * Filters the list of available AI providers.
     */
    apply_filters( 'acez_seo_ai_providers', $providers );
  • src/Admin/Tabs/AiProvidersTab.php line 532
    /**
     * Filters the AI tasks listed on the "Model per task" card. An add-on that
     * runs its own task (one of AiGenerationService::TASKS) adds its label here;
     * keys outside TASKS are ignored.
     */
    apply_filters( 'acez_seo_ai_task_labels', $labels );
  • src/Schema/BlogIndexSchemaOutput.php line 86
    /**
     * Filters the CollectionPage schema node of the blog index.
     */
    apply_filters( 'acez_seo_blog_index_collection_page', $node, $this->resolver->posts_page() );
  • src/Support/BreadcrumbTrail.php line 56
    /**
     * Filters the breadcrumb trail items for a post.
     */
    apply_filters( 'acez_seo_breadcrumb_trail', $items, $post );
  • src/Cache/CacheInvalidator.php line 136
    /**
     * Operational-state options (queues, logs, counters) change often and never
     * affect front-end output — bumping the global cache version for them would
     * keep the JSON-LD cache permanently cold (e.g. the Pro bulk queue writes its
     * job state on every batch).
     */
    apply_filters( 'acez_seo_cache_bump_excluded_options', array( 'acez_seo_ai_usage', 'acez_seo_ai_log' ) );
  • src/Schema/TermSchemaOutput.php line 136
    /**
     * Filters the CollectionPage schema node for a taxonomy archive.
     */
    apply_filters( 'acez_seo_collection_page', $node, $term );
  • src/Location/ConditionalTags.php line 41
    /**
     * Filters the list of conditional-tag location rules offered in the admin UI.
     * Developers can also register entirely custom rule types (not limited to this
     * allowlist) via the `acez_seo_location_rule` filter in RuleFactory.
     */
    apply_filters( 'acez_seo_conditional_tags', $tags );
  • src/Admin/Tabs/ContentTab.php line 370
    /**
     * Fires inside the per-post-type settings form (same table, same nonce) —
     * extensions (e.g. the Pro addon's ACF→schema field mapping, M30) add their
     * own rows here.
     */
    do_action( 'acez_seo_content_settings_fields', $post_type, $settings );
  • src/Admin/Tabs/ContentTab.php line 198
    /**
     * Fires after the per-post-type settings save — the SAME request, already
     * nonce-verified by SettingsPage's dispatcher. Extensions read their own
     * $_POST fields and persist to their own storage.
     */
    do_action( 'acez_seo_content_settings_save', $post_type );
  • src/Admin/Tabs/DashboardTab.php line 137
    /**
     * Fires between the dashboard's top row and the per-post-type stats —
     * extensions (e.g. the Pro addon's Search Console trend card, M29) inject
     * full-width cards here.
     */
    do_action( 'acez_seo_dashboard_cards' );
  • src/Schema/Types/FAQPageSchemaType.php line 56
    /**
     * Filters the FAQPage schema node.
     */
    apply_filters( 'acez_seo_faq_page', $data, $post );
  • src/Schema/Types/FAQPageSchemaType.php line 39
    /**
     * Filters whether the FAQPage node applies to this post — the default is "at
     * least one core/details block was found", but a filter can flip it to true
     * when questions will come from elsewhere (Pro's ACF repeater mapping, M30)
     * even without any block in the content.
     */
    apply_filters( 'acez_seo_faq_page_applies', array() !== $this->questions( $post ), $post );
  • src/Schema/Types/ForcedSchemaType.php line 158
    /**
     * Filters the user-forced main schema node (M66).
     */
    apply_filters( 'acez_seo_forced_type', $data, $post, $override );
  • src/Data/GlobalSettingsRepository.php line 46
    /**
     * Filters the resolved global settings for the current language.
     */
    apply_filters( 'acez_seo_global_settings_for_locale', $settings, \AcezSeo\Support\MultilingualPluginDetector::current_locale() );
  • src/Schema/SchemaGraphBuilder.php line 87
    /**
     * Filters the assembled @graph nodes before output.
     */
    apply_filters( 'acez_seo_graph', $graph, $post );
  • src/Help/HelpContent.php line 401
    /**
     * Filters the contextual help content (title/description/example per key).
     */
    apply_filters( 'acez_seo_help_content', $content );
  • src/Schema/Types/HowToSchemaType.php line 77
    /**
     * Filters the HowTo schema node.
     */
    apply_filters( 'acez_seo_how_to', $data, $post );
  • src/Schema/Types/HowToSchemaType.php line 56
    /**
     * Filters whether the HowTo node has steps to show — the default is "the
     * first ordered list in the content", but a filter can flip it to true when
     * steps will come from elsewhere (Pro's ACF repeater mapping, M30) even
     * without any ordered list in the content.
     */
    apply_filters( 'acez_seo_how_to_applies', array() !== $this->steps( $post ), $post );
  • src/Frontend/HreflangOutput.php line 50
    /**
     * Filters the hreflang URL map for the current request. Keys are BCP 47
     * language tags (plus optionally 'x-default'), values are absolute URLs. Empty
     * by default — hreflang is only emitted when something hooks in.
     */
    apply_filters( 'acez_seo_hreflang_urls', array(), $post );
  • src/Import/ImporterRegistry.php line 51
    /**
     * Filters the list of available SEO data importers.
     */
    apply_filters( 'acez_seo_importers', $importers );
  • src/Robots/KnownBots.php line 47
    /**
     * Filters the list of known bots offered in the robots.txt editor.
     */
    apply_filters( 'acez_seo_known_bots', $bots );
  • src/Support/MultilingualPluginDetector.php line 34
    /**
     * Filters the list of "plugin name => detection callback" pairs used to detect
     * active multilingual plugins.
     */
    apply_filters( 'acez_seo_known_multilingual_plugins', $known );
  • src/Support/SeoPluginDetector.php line 54
    /**
     * Filters the list of "plugin name => defined constant" pairs used to detect
     * other active SEO plugins that would conflict with Acez SEO's own output.
     */
    apply_filters( 'acez_seo_known_seo_plugins', self::KNOWN_PLUGINS );
  • src/Data/LicenseRepository.php line 44
    /**
     * Filters the resolved license status — the extension point for a future
     * remote activation check ('active', 'expired', ...).
     */
    apply_filters( 'acez_seo_license_status', $status, $key );
  • src/Llms/LlmsTxtBuilder.php line 115
    /**
     * Filters the generated llms.txt content.
     */
    apply_filters( 'acez_seo_llms_txt', $content );
  • src/Schema/Types/LocalBusinessSchemaType.php line 117
    /**
     * Filters the LocalBusiness schema node.
     */
    apply_filters( 'acez_seo_local_business', $data, $post );
  • src/Location/RuleFactory.php line 75
    /**
     * Filters/extends rule-type resolution for custom location rules (e.g.
     * archive, taxonomy, or PHP-condition rules).
     */
    apply_filters( 'acez_seo_location_rule', null, $type, $value );
  • src/Support/Capabilities.php line 34
    /**
     * Filters the capability required to manage Acez SEO settings.
     */
    apply_filters( 'acez_seo_manage_capability', 'manage_options' );
  • src/Location/Rules/ConditionalTagRule.php line 50
    /**
     * Filters the match result for a conditional tag not handled by the built-in
     * switch above — lets the `acez_seo_conditional_tags` filter register
     * genuinely new tags without touching this class.
     */
    apply_filters( 'acez_seo_match_conditional_tag', false, $this->tag, $post );
  • src/Admin/Editor/ClassicMetaBox.php line 677
    /**
     * Renders the form-based node builder under the custom-nodes repeater.
     */
    do_action( 'acez_seo_metabox_node_builder' );
  • src/Admin/Editor/ClassicMetaBox.php line 604
    /**
     * Renders the forced node's property fields inside this meta box.
     */
    do_action( 'acez_seo_metabox_schema_fields', $post, $hidden, $type_override );
  • src/Admin/Editor/ClassicMetaBox.php line 951
    /**
     * Lets the addon persist the fields it rendered in this meta box (M66 part D,
     * moved out in M69 Etap 3).
     */
    do_action( 'acez_seo_metabox_schema_save', $post_id );
  • src/Schema/Types/OrganizationSchemaType.php line 111
    /**
     * Filters the Organization schema node.
     */
    apply_filters( 'acez_seo_organization', $data );
  • src/Location/PageTemplates.php line 50
    /**
     * Filters the list of page templates available for location rules.
     */
    apply_filters( 'acez_seo_page_templates', $templates );
  • src/Schema/Types/PersonSchemaType.php line 63
    /**
     * Filters the Person (author) schema node.
     */
    apply_filters( 'acez_seo_person', $data, $post );
  • src/Schema/Types/ProductSchemaType.php line 96
    /**
     * Filters the Product schema node.
     */
    apply_filters( 'acez_seo_product', $data, $post );
  • src/Admin/Tabs/SchemaTab.php line 99
    /**
     * Fires when a per-language Organization override form is saved.
     */
    do_action( 'acez_seo_save_language_override', $locale );
  • src/Admin/Tabs/SchemaTab.php line 294
    /**
     * Renders the per-language Organization overrides card.
     */
    do_action( 'acez_seo_schema_language_cards', $this->ui, $locales );
  • src/Schema/SchemaValidator.php line 51
    /**
     * Filters the required-property map used by the local validator — the
     * extension point premium schema types (Pro, M30) add their own Google Rich
     * Results requirements through, without touching this class.
     */
    apply_filters( 'acez_seo_schema_required_properties', self::REQUIRED_PROPERTIES );
  • src/Sitemap/SitemapImageTags.php line 42
    /**
     * Filters the renderer class WP core's sitemap system uses. Core only exposes
     * ONE renderer slot (`$wp_sitemaps->renderer`, a public property with no
     * accumulation mechanism) — a filter, not a second hard swap, is how a
     * further extension (e.g. Pro's video sitemap, M56) can layer its OWN renderer
     * on top of this one instead of the two silently fighting over the same
     * property.
     */
    apply_filters( 'acez_seo_sitemap_renderer_class', ImageAwareSitemapRenderer::class );
  • src/Support/PostTypes.php line 31
    /**
     * Filters the post types Acez SEO manages meta/schema for.
     */
    apply_filters( 'acez_seo_supported_post_types', array_values( $post_types ) );
  • src/Support/Taxonomies.php line 31
    /**
     * Filters the taxonomies Acez SEO manages archive meta for.
     */
    apply_filters( 'acez_seo_supported_taxonomies', array_values( $taxonomies ) );
  • src/Schema/SchemaRegistry.php line 76
    /**
     * Filters the list of registered schema types.
     */
    apply_filters( 'acez_seo_types', $types );
  • src/Support/VariableResolver.php line 27
    /**
     * Filters the variable replacements available in Acez SEO templates.
     */
    apply_filters( 'acez_seo_variable_replacements', $replacements, $post );
  • src/Schema/Types/WebPageSchemaType.php line 81
    /**
     * Filters the WebPage schema node for non-'post' content (pages and custom
     * post types).
     */
    apply_filters( 'acez_seo_webpage', $data, $post );
  • src/Support/MultilingualPluginDetector.php line 175 · used in 2 places
    apply_filters( 'wpml_element_trid', null, $post->ID, $element_type );
  • src/Support/MultilingualPluginDetector.php line 182 · used in 2 places
    apply_filters( 'wpml_get_element_translations', null, $trid, $element_type );
  • src/Ai/ModelPricing.php line 53
    apply_filters( 'acez_seo_ai_model_prices', self::DEFAULT_PRICES );
  • src/Admin/Tabs/AiProvidersTab.php line 595
    apply_filters( 'acez_seo_ai_usage_urls', array( 'openai' => 'https://platform.openai.com/usage', 'anthropic' => 'https://console.anthropic.com/settings/usage', 'gemini' => 'https://aistudio.google.com/usage', 'openrouter' => 'https://openrouter.ai/activity', ) );
  • src/Support/SeoConflict/ConflictOverrideRegistry.php line 29
    apply_filters( 'acez_seo_conflict_overrides', array( new RankMathOverride() ) );
  • src/Help/HelpIllustrations.php line 31
    apply_filters( 'acez_seo_help_illustrations_enabled', true );
  • src/Admin/Tabs/SitemapTab.php line 142
    apply_filters( 'wp_sitemaps_enabled', true );
  • src/Support/MultilingualPluginDetector.php line 97
    apply_filters( 'wpml_active_languages', null );
  • src/Support/MultilingualPluginDetector.php line 71
    apply_filters( 'wpml_post_language_details', null, $post->ID );

Generated from Acez SEO AI'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.

Plugin 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 this

Not 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: