Every action and filter Crownify exposes, grouped by what it controls.
Add these to your theme’s functions.php or a site-specific plugin.Several filters receive a $context object describing what is being rendered, so one filter can behave differently on a post, an archive, and the homepage.Hook names (rankify_*), constants (RANKIFY_*), and the plugin file rankify.php keep the rankify name for backward compatibility.
Meta output
rankify_meta_title
The final title tag, after templates and per-post overrides.
string
required
object
add_filter('rankify_meta_title', function ($title, $context) { if (is_search()) { return 'Search results'; } return $title;}, 10, 2);
rankify_meta_description
string
required
object
rankify_meta_robots
The robots directives for the current page.
array
required
object
// Noindex anything still carrying a legacy taxonomy term.add_filter('rankify_meta_robots', function ($directives, $context) { if (is_singular('post') && has_term('archived', 'post_tag')) { $directives[] = 'noindex'; } return $directives;}, 10, 2);
rankify_meta_canonical
The canonical URL.
string
required
rankify_meta_image
The social share image.
rankify_meta_separator
The character %%sep%% resolves to.
rankify_meta_variable
Resolves a template variable, which is how you add your own.
rankify_filter_document_title
Whether Crownify takes over WordPress’s own title output. Return false to leave the theme’s title alone.
Output switches
Three filters turn whole blocks of output off, for when a theme or another plugin should own them.
Filter
Controls
rankify_output_head_tags
All head output
rankify_output_schema
JSON-LD schema
rankify_output_social_tags
Open Graph and X cards
// Let a page builder own the social tags on one template.add_filter('rankify_output_social_tags', function ($output) { return is_page_template('landing.php') ? false : $output;});
Schema
rankify_schema_graph
The complete JSON-LD graph before output. The broadest hook in the plugin.
array
required
object
add_filter('rankify_schema_graph', function ($graph, $context) { foreach ($graph['@graph'] as &$node) { if (($node['@type'] ?? '') === 'Organization') { $node['foundingDate'] = '2019-04-01'; } } return $graph;}, 10, 2);
Other schema filters
Filter
Controls
rankify_schema_types
Which schema types are offered
rankify_schema_article_types
Article subtypes available per post type
rankify_schema_page_types
Page types available
rankify_schema_default_currency
Currency used in Product markup
rankify_local_business_types
LocalBusiness subtypes
rankify_metabox_schema_panel
Action. Fires inside the editor’s schema panel, for adding your own fields.
Sitemaps and breadcrumbs
Hook
Type
Controls
rankify_sitemap_per_page
filter
URLs per sitemap page
rankify_sitemap_subtypes
filter
Which subtypes get their own sitemap
rankify_sitemap_index_extra
action
Add entries to the sitemap index
rankify_breadcrumb_trail
filter
The trail as an array, with $context
rankify_breadcrumbs_html
filter
The rendered breadcrumb markup
rankify_archive_disabled
filter
Whether an archive is disabled
add_filter('rankify_breadcrumb_trail', function ($crumbs, $context) { // Drop the blog index from post trails. return array_values(array_filter($crumbs, function ($crumb) { return $crumb['url'] !== get_permalink(get_option('page_for_posts')); }));}, 10, 2);
AI and answer engines
rankify_llms_txt_groups
The grouped page list published at /llms.txt.
array
required
add_filter('rankify_llms_txt_groups', function ($groups) { $groups['Support'] = [ ['title' => 'Contact us', 'url' => home_url('/contact/'), 'summary' => 'How to reach the team.'], ]; return $groups;});
rankify_blocked_ai_crawlers
Which AI crawlers are blocked in robots.txt.
array
required
rankify_answer_source_content
The content analyzed when generating answer blocks. Use it to strip boilerplate that would otherwise be read as part of an answer.
string
required
WP_Post
AI tracking
Filter
Controls
rankify_ai_referral_sources
Which referrers count as AI referrals
rankify_ai_referral_utm_sources
Which UTM sources count as AI referrals
rankify_geo_retention_days
How long crawler and referral data is kept
rankify_trust_proxy_headers
Whether to trust proxy headers for client IP
Only enable rankify_trust_proxy_headers when your site genuinely sits behind a proxy you control. Trusting these headers otherwise lets any client claim any IP, which defeats crawler identity verification.
rankify_indexnow_submitted
Action. Fires after URLs are submitted to IndexNow.
Redirects and links
Hook
Type
Controls
rankify_404_ignore_list
filter
URLs never logged as 404s
rankify_404_log_max_rows
filter
The hard cap on log size
rankify_link_graph_post_types
filter
Post types included in link analysis
rankify_orphan_exclusions
filter
Post IDs never reported as orphans
rankify_redirects_changed
action
Fires when rules change
rankify_slug_change_redirect
action
Fires when an automatic redirect is written
add_action('rankify_slug_change_redirect', function ($from, $to) { error_log(sprintf('Crownify redirected %s to %s', $from, $to));}, 10, 2);
Admin and permissions
Hook
Type
Controls
rankify_user_can_edit_meta
filter
Whether a user may edit SEO fields
rankify_admin_column_post_types
filter
Which list tables get Crownify columns
rankify_admin_js_vars
filter
Variables passed to the admin JavaScript
rankify_page_cache_active
filter
Whether a page cache is considered active
rankify_save_post_meta
action
Fires when per-post SEO meta is saved
// Let editors manage SEO fields, not just administrators.add_filter('rankify_user_can_edit_meta', function ($can) { return $can || current_user_can('edit_others_posts');});
Settings and bootstrap
rankify_settings_update:before / :after
Fire around the settings write, both receiving $settings.
rankify_pro_loaded
Fires once the Freemius SDK is initialized, before features are constructed.
Constants
Constant
Value
RANKIFY_VERSION
The plugin version string
RANKIFY_FILE
Absolute path to rankify.php
RANKIFY_BASENAME
Plugin basename
RANKIFY_DIR_PATH
Absolute path to the plugin directory
RANKIFY_DIR_URL
URL of the plugin directory
RANKIFY_UPLOAD_DIR
Absolute path to the plugin’s uploads directory
RANKIFY_UPLOAD_URL
URL of the plugin’s uploads directory
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"DaftPlug Pro Plugins Docs","colors":{"primary":"#155dfc","light":"#dbeafe","dark":"#155dfc"},"logo":{"light":"https://mintcdn.com/daftplug/IPMxWmv5CQY06iWo/images/logo.svg?fit=max\u0026auto=format\u0026n=IPMxWmv5CQY06iWo\u0026q=85\u0026s=80cf46c3005f7bf791296015ebd3c559","dark":"https://mintcdn.com/daftplug/IPMxWmv5CQY06iWo/images/logo.svg?fit=max\u0026auto=format\u0026n=IPMxWmv5CQY06iWo\u0026q=85\u0026s=80cf46c3005f7bf791296015ebd3c559"},"favicon":"https://mintcdn.com/daftplug/4KUNhY5lk6D1YkQN/images/daftplug.png?fit=max\u0026auto=format\u0026n=4KUNhY5lk6D1YkQN\u0026q=85\u0026s=d5e0f0369117b9a2d305ea79e4f38578","appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"mailto:support@daftplug.com","label":"Support"}],"primary":{"type":"button","label":"Main Site","href":"https://daftplug.com/"}},"footer":{"socials":{"x":"https://x.com/daftplug","github":"https://github.com/daftplug","linkedin":"https://linkedin.com/company/daftplug"}},"icons":{"library":"fontawesome"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Get All Pro Plugins","icon":"crown","color":{"light":"#b45309","dark":"#fbbf24"},"href":"https://daftplug.com/pricing/?utm_source=documentation\u0026utm_medium=mintlify-docs\u0026utm_campaign=upgrade-to-pro"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"daftplug","hasAudioNarration":false,"actualSubdomain":"daftplug","customDomains":["docs.daftplug.com"],"gitSource":{"type":"github","owner":"daftplug","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6aedb164a20df64791619cdd","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"Settings","count":29},{"language":"default","tag":"Progressify","count":21},{"language":"default","tag":"Crownify","count":20},{"language":"default","tag":"Getting started","count":20},{"language":"default","tag":"Generatify","count":19},{"language":"default","tag":"Lightify","count":18},{"language":"default","tag":"Snapshotify","count":18},{"language":"default","tag":"Guides","count":17},{"language":"default","tag":"Developer reference","count":15},{"language":"default","tag":"Support","count":15}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"crownify/reference/hooks","slug":"/crownify/reference/hooks","pageMetadata":{"title":"Hooks","description":"Every action and filter Crownify exposes, grouped by what it controls.","icon":"code","href":"/crownify/reference/hooks"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Every action and filter Crownify exposes, grouped by what it controls.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,ParamField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Add these to your theme’s `,_jsx(_components.code,{children:`functions.php`}),` or a site-specific plugin.`]}),`\n`,_jsxs(_components.p,{children:[`Several filters receive a `,_jsx(_components.code,{children:`$context`}),` object describing what is being rendered, so one filter can behave differently on a post, an archive, and the homepage.`]}),`\n`,_jsxs(_components.p,{children:[`Hook names (`,_jsx(_components.code,{children:`rankify_*`}),`), constants (`,_jsx(_components.code,{children:`RANKIFY_*`}),`), and the plugin file `,_jsx(_components.code,{children:`rankify.php`}),` keep the rankify name for backward compatibility.`]}),`\n`,_jsx(Heading,{level:`2`,id:`meta-output`,children:`Meta output`}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_meta_title`,children:`rankify_meta_title`}),`\n`,_jsx(_components.p,{children:`The final title tag, after templates and per-post overrides.`}),`\n`,_jsx(ParamField,{path:`$title`,type:`string`,required:true,id:`param-title`}),`\n`,_jsx(ParamField,{path:`$context`,type:`object`,id:`param-context`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add_filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'rankify_meta_title'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$context`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`is_search`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Search results'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $title`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_meta_description`,children:`rankify_meta_description`}),`\n`,_jsx(ParamField,{path:`$description`,type:`string`,required:true,id:`param-description`}),`\n`,_jsx(ParamField,{path:`$context`,type:`object`,id:`param-context-1`}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_meta_robots`,children:`rankify_meta_robots`}),`\n`,_jsx(_components.p,{children:`The robots directives for the current page.`}),`\n`,_jsx(ParamField,{path:`$directives`,type:`array`,required:true,id:`param-directives`}),`\n`,_jsx(ParamField,{path:`$context`,type:`object`,id:`param-context-2`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Noindex anything still carrying a legacy taxonomy term.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add_filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'rankify_meta_robots'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$directives`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$context`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`is_singular`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'post'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u0026\u0026`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` has_term`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'archived'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'post_tag'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $directives`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'noindex'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $directives`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_meta_canonical`,children:`rankify_meta_canonical`}),`\n`,_jsx(_components.p,{children:`The canonical URL.`}),`\n`,_jsx(ParamField,{path:`$canonical`,type:`string`,required:true,id:`param-canonical`}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_meta_image`,children:`rankify_meta_image`}),`\n`,_jsx(_components.p,{children:`The social share image.`}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_meta_separator`,children:`rankify_meta_separator`}),`\n`,_jsxs(_components.p,{children:[`The character `,_jsx(_components.code,{children:`%%sep%%`}),` resolves to.`]}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_meta_variable`,children:`rankify_meta_variable`}),`\n`,_jsx(_components.p,{children:`Resolves a template variable, which is how you add your own.`}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_filter_document_title`,children:`rankify_filter_document_title`}),`\n`,_jsxs(_components.p,{children:[`Whether Crownify takes over WordPress’s own title output. Return `,_jsx(_components.code,{children:`false`}),` to leave the theme’s title alone.`]}),`\n`,_jsx(Heading,{level:`3`,id:`output-switches`,children:`Output switches`}),`\n`,_jsx(_components.p,{children:`Three filters turn whole blocks of output off, for when a theme or another plugin should own them.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Filter`}),_jsx(_components.th,{children:`Controls`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_output_head_tags`})}),_jsx(_components.td,{children:`All head output`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_output_schema`})}),_jsx(_components.td,{children:`JSON-LD schema`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_output_social_tags`})}),_jsx(_components.td,{children:`Open Graph and X cards`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Let a page builder own the social tags on one template.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add_filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'rankify_output_social_tags'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$output`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` is_page_template`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'landing.php'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`?`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` :`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $output`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`schema`,children:`Schema`}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_schema_graph`,children:`rankify_schema_graph`}),`\n`,_jsx(_components.p,{children:`The complete JSON-LD graph before output. The broadest hook in the plugin.`}),`\n`,_jsx(ParamField,{path:`$graph`,type:`array`,required:true,id:`param-graph`}),`\n`,_jsx(ParamField,{path:`$context`,type:`object`,id:`param-context-3`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add_filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'rankify_schema_graph'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$graph`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$context`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` foreach`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$graph`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'@graph'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`as`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` \u0026`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$node`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` if`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ((`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$node`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'@type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`??`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ''`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`===`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Organization'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $node`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'foundingDate'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '2019-04-01'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $graph`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`other-schema-filters`,children:`Other schema filters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Filter`}),_jsx(_components.th,{children:`Controls`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_schema_types`})}),_jsx(_components.td,{children:`Which schema types are offered`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_schema_article_types`})}),_jsx(_components.td,{children:`Article subtypes available per post type`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_schema_page_types`})}),_jsx(_components.td,{children:`Page types available`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_schema_default_currency`})}),_jsx(_components.td,{children:`Currency used in Product markup`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_local_business_types`})}),_jsx(_components.td,{children:`LocalBusiness subtypes`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_metabox_schema_panel`,children:`rankify_metabox_schema_panel`}),`\n`,_jsx(_components.p,{children:`Action. Fires inside the editor’s schema panel, for adding your own fields.`}),`\n`,_jsx(Heading,{level:`2`,id:`sitemaps-and-breadcrumbs`,children:`Sitemaps and breadcrumbs`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Hook`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Controls`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_sitemap_per_page`})}),_jsx(_components.td,{children:`filter`}),_jsx(_components.td,{children:`URLs per sitemap page`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_sitemap_subtypes`})}),_jsx(_components.td,{children:`filter`}),_jsx(_components.td,{children:`Which subtypes get their own sitemap`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_sitemap_index_extra`})}),_jsx(_components.td,{children:`action`}),_jsx(_components.td,{children:`Add entries to the sitemap index`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_breadcrumb_trail`})}),_jsx(_components.td,{children:`filter`}),_jsxs(_components.td,{children:[`The trail as an array, with `,_jsx(_components.code,{children:`$context`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_breadcrumbs_html`})}),_jsx(_components.td,{children:`filter`}),_jsx(_components.td,{children:`The rendered breadcrumb markup`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_archive_disabled`})}),_jsx(_components.td,{children:`filter`}),_jsx(_components.td,{children:`Whether an archive is disabled`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add_filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'rankify_breadcrumb_trail'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$crumbs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$context`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Drop the blog index from post trails.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` array_values`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`array_filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$crumbs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$crumb`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $crumb`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'url'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`!==`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` get_permalink`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get_option`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'page_for_posts'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`));`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }));`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`ai-and-answer-engines`,children:`AI and answer engines`}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_llms_txt_groups`,children:`rankify_llms_txt_groups`}),`\n`,_jsxs(_components.p,{children:[`The grouped page list published at `,_jsx(_components.code,{children:`/llms.txt`}),`.`]}),`\n`,_jsx(ParamField,{path:`$groups`,type:`array`,required:true,id:`param-groups`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add_filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'rankify_llms_txt_groups'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$groups`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $groups`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Support'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`] `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'title'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Contact us'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'url'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` home_url`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D16969`},children:`'/contact/'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'summary'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'How to reach the team.'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ];`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $groups`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_blocked_ai_crawlers`,children:`rankify_blocked_ai_crawlers`}),`\n`,_jsx(_components.p,{children:`Which AI crawlers are blocked in robots.txt.`}),`\n`,_jsx(ParamField,{path:`$crawlers`,type:`array`,required:true,id:`param-crawlers`}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_answer_source_content`,children:`rankify_answer_source_content`}),`\n`,_jsx(_components.p,{children:`The content analyzed when generating answer blocks. Use it to strip boilerplate that would otherwise be read as part of an answer.`}),`\n`,_jsx(ParamField,{path:`$content`,type:`string`,required:true,id:`param-content`}),`\n`,_jsx(ParamField,{path:`$post`,type:`WP_Post`,id:`param-post`}),`\n`,_jsx(Heading,{level:`3`,id:`ai-tracking`,children:`AI tracking`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Filter`}),_jsx(_components.th,{children:`Controls`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_ai_referral_sources`})}),_jsx(_components.td,{children:`Which referrers count as AI referrals`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_ai_referral_utm_sources`})}),_jsx(_components.td,{children:`Which UTM sources count as AI referrals`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_geo_retention_days`})}),_jsx(_components.td,{children:`How long crawler and referral data is kept`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_trust_proxy_headers`})}),_jsx(_components.td,{children:`Whether to trust proxy headers for client IP`})]})]})]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Only enable `,_jsx(_components.code,{children:`rankify_trust_proxy_headers`}),` when your site genuinely sits behind a proxy you control. Trusting these headers otherwise lets any client claim any IP, which defeats crawler identity verification.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_indexnow_submitted`,children:`rankify_indexnow_submitted`}),`\n`,_jsx(_components.p,{children:`Action. Fires after URLs are submitted to IndexNow.`}),`\n`,_jsx(Heading,{level:`2`,id:`redirects-and-links`,children:`Redirects and links`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Hook`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Controls`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_404_ignore_list`})}),_jsx(_components.td,{children:`filter`}),_jsx(_components.td,{children:`URLs never logged as 404s`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_404_log_max_rows`})}),_jsx(_components.td,{children:`filter`}),_jsx(_components.td,{children:`The hard cap on log size`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_link_graph_post_types`})}),_jsx(_components.td,{children:`filter`}),_jsx(_components.td,{children:`Post types included in link analysis`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_orphan_exclusions`})}),_jsx(_components.td,{children:`filter`}),_jsx(_components.td,{children:`Post IDs never reported as orphans`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_redirects_changed`})}),_jsx(_components.td,{children:`action`}),_jsx(_components.td,{children:`Fires when rules change`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_slug_change_redirect`})}),_jsx(_components.td,{children:`action`}),_jsx(_components.td,{children:`Fires when an automatic redirect is written`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add_action`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'rankify_slug_change_redirect'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` error_log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`sprintf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'Crownify redirected %s to %s'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$to`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`));`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`admin-and-permissions`,children:`Admin and permissions`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Hook`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Controls`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_user_can_edit_meta`})}),_jsx(_components.td,{children:`filter`}),_jsx(_components.td,{children:`Whether a user may edit SEO fields`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_admin_column_post_types`})}),_jsx(_components.td,{children:`filter`}),_jsx(_components.td,{children:`Which list tables get Crownify columns`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_admin_js_vars`})}),_jsx(_components.td,{children:`filter`}),_jsx(_components.td,{children:`Variables passed to the admin JavaScript`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_page_cache_active`})}),_jsx(_components.td,{children:`filter`}),_jsx(_components.td,{children:`Whether a page cache is considered active`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rankify_save_post_meta`})}),_jsx(_components.td,{children:`action`}),_jsx(_components.td,{children:`Fires when per-post SEO meta is saved`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Let editors manage SEO fields, not just administrators.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add_filter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'rankify_user_can_edit_meta'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`function`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$can`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` $can`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ||`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` current_user_can`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'edit_others_posts'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`settings-and-bootstrap`,children:`Settings and bootstrap`}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_settings_updatebefore-/-after`,children:`rankify_settings_update:before / :after`}),`\n`,_jsxs(_components.p,{children:[`Fire around the settings write, both receiving `,_jsx(_components.code,{children:`$settings`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`rankify_pro_loaded`,children:`rankify_pro_loaded`}),`\n`,_jsx(_components.p,{children:`Fires once the Freemius SDK is initialized, before features are constructed.`}),`\n`,_jsx(Heading,{level:`2`,id:`constants`,children:`Constants`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Constant`}),_jsx(_components.th,{children:`Value`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RANKIFY_VERSION`})}),_jsx(_components.td,{children:`The plugin version string`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RANKIFY_FILE`})}),_jsxs(_components.td,{children:[`Absolute path to `,_jsx(_components.code,{children:`rankify.php`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RANKIFY_BASENAME`})}),_jsx(_components.td,{children:`Plugin basename`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RANKIFY_DIR_PATH`})}),_jsx(_components.td,{children:`Absolute path to the plugin directory`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RANKIFY_DIR_URL`})}),_jsx(_components.td,{children:`URL of the plugin directory`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RANKIFY_UPLOAD_DIR`})}),_jsx(_components.td,{children:`Absolute path to the plugin’s uploads directory`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RANKIFY_UPLOAD_URL`})}),_jsx(_components.td,{children:`URL of the plugin’s uploads directory`})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Hooks","description":"Every action and filter Crownify exposes, grouped by what it controls.","icon":"code","href":"/crownify/reference/hooks"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Meta output","slug":"meta-output","depth":2,"children":[{"title":"rankify_meta_title","slug":"rankify_meta_title","depth":3,"children":[]},{"title":"rankify_meta_description","slug":"rankify_meta_description","depth":3,"children":[]},{"title":"rankify_meta_robots","slug":"rankify_meta_robots","depth":3,"children":[]},{"title":"rankify_meta_canonical","slug":"rankify_meta_canonical","depth":3,"children":[]},{"title":"rankify_meta_image","slug":"rankify_meta_image","depth":3,"children":[]},{"title":"rankify_meta_separator","slug":"rankify_meta_separator","depth":3,"children":[]},{"title":"rankify_meta_variable","slug":"rankify_meta_variable","depth":3,"children":[]},{"title":"rankify_filter_document_title","slug":"rankify_filter_document_title","depth":3,"children":[]},{"title":"Output switches","slug":"output-switches","depth":3,"children":[]}]},{"title":"Schema","slug":"schema","depth":2,"children":[{"title":"rankify_schema_graph","slug":"rankify_schema_graph","depth":3,"children":[]},{"title":"Other schema filters","slug":"other-schema-filters","depth":3,"children":[]},{"title":"rankify_metabox_schema_panel","slug":"rankify_metabox_schema_panel","depth":3,"children":[]}]},{"title":"Sitemaps and breadcrumbs","slug":"sitemaps-and-breadcrumbs","depth":2,"children":[]},{"title":"AI and answer engines","slug":"ai-and-answer-engines","depth":2,"children":[{"title":"rankify_llms_txt_groups","slug":"rankify_llms_txt_groups","depth":3,"children":[]},{"title":"rankify_blocked_ai_crawlers","slug":"rankify_blocked_ai_crawlers","depth":3,"children":[]},{"title":"rankify_answer_source_content","slug":"rankify_answer_source_content","depth":3,"children":[]},{"title":"AI tracking","slug":"ai-tracking","depth":3,"children":[]},{"title":"rankify_indexnow_submitted","slug":"rankify_indexnow_submitted","depth":3,"children":[]}]},{"title":"Redirects and links","slug":"redirects-and-links","depth":2,"children":[]},{"title":"Admin and permissions","slug":"admin-and-permissions","depth":2,"children":[]},{"title":"Settings and bootstrap","slug":"settings-and-bootstrap","depth":2,"children":[{"title":"rankify_settings_update:before / :after","slug":"rankify_settings_updatebefore-/-after","depth":3,"children":[]},{"title":"rankify_pro_loaded","slug":"rankify_pro_loaded","depth":3,"children":[]}]},{"title":"Constants","slug":"constants","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"daftplug","siteName":"DaftPlug Pro Plugins Docs","title":"Hooks - DaftPlug Pro Plugins Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-19T15:54:26.479Z","originalFileLocation":"crownify/reference/hooks.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Every action and filter Crownify exposes, grouped by what it controls.\">\u003cmeta data-mint-head name=\"application-name\" content=\"DaftPlug Pro Plugins Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/daftplug/3xYZQin0g9m0PYIp/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/daftplug/3xYZQin0g9m0PYIp/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/daftplug/3xYZQin0g9m0PYIp/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/daftplug/3xYZQin0g9m0PYIp/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/daftplug/3xYZQin0g9m0PYIp/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/daftplug/3xYZQin0g9m0PYIp/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/daftplug/3xYZQin0g9m0PYIp/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/daftplug/3xYZQin0g9m0PYIp/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/daftplug/3xYZQin0g9m0PYIp/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Hooks - DaftPlug Pro Plugins Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Every action and filter Crownify exposes, grouped by what it controls.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DaftPlug Pro Plugins Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.daftplug.com/crownify/reference/hooks\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://daftplug.mintlify.site/_mintlify/api/og/v2?division=Developer+reference\u0026amp;title=Hooks\u0026amp;description=Every+action+and+filter+Crownify+exposes%2C+grouped+by+what+it+controls.\u0026amp;theme=710b42c39ec27875de9bf93e\u0026amp;signature=8c1de3dde46ddc07d508978317e6a07636bfe75f5a875732c43a1fe7d6f44131\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Hooks - DaftPlug Pro Plugins Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Every action and filter Crownify exposes, grouped by what it controls.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://daftplug.mintlify.site/_mintlify/api/og/v2?division=Developer+reference\u0026amp;title=Hooks\u0026amp;description=Every+action+and+filter+Crownify+exposes%2C+grouped+by+what+it+controls.\u0026amp;theme=710b42c39ec27875de9bf93e\u0026amp;signature=8c1de3dde46ddc07d508978317e6a07636bfe75f5a875732c43a1fe7d6f44131\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/daftplug/3xYZQin0g9m0PYIp/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DaftPlug Pro Plugins Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#155dfc\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.daftplug.com/crownify/reference/hooks\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/crownify/reference/hooks.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.daftplug.com/#organization\",\"name\":\"DaftPlug Pro Plugins Docs\",\"url\":\"https://docs.daftplug.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/daftplug/IPMxWmv5CQY06iWo/images/logo.svg?fit=max\u0026auto=format\u0026n=IPMxWmv5CQY06iWo\u0026q=85\u0026s=80cf46c3005f7bf791296015ebd3c559\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.daftplug.com#website\",\"name\":\"DaftPlug Pro Plugins Docs\",\"url\":\"https://docs.daftplug.com\",\"publisher\":{\"@id\":\"https://docs.daftplug.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.daftplug.com/crownify/reference/hooks#webpage\",\"url\":\"https://docs.daftplug.com/crownify/reference/hooks\",\"name\":\"Hooks\",\"description\":\"Every action and filter Crownify exposes, grouped by what it controls.\",\"dateModified\":\"2026-10-19T15:54:26.479Z\",\"isPartOf\":{\"@id\":\"https://docs.daftplug.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.daftplug.com/crownify/reference/hooks#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.daftplug.com/crownify/reference/hooks#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"DaftPlug Pro Plugins Docs\",\"item\":\"https://docs.daftplug.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hooks\",\"item\":\"https://docs.daftplug.com/crownify/reference/hooks\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.daftplug.com/crownify/reference/hooks#article\",\"headline\":\"Hooks\",\"name\":\"Hooks\",\"description\":\"Every action and filter Crownify exposes, grouped by what it controls.\",\"url\":\"https://docs.daftplug.com/crownify/reference/hooks\",\"mainEntityOfPage\":{\"@id\":\"https://docs.daftplug.com/crownify/reference/hooks#webpage\"},\"dateModified\":\"2026-10-19T15:54:26.479Z\",\"publisher\":{\"@id\":\"https://docs.daftplug.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.daftplug.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DaftPlug Pro Plugins Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"DaftPlug Pro Plugins Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/crownify/reference/hooks.md","siteName":"DaftPlug Pro Plugins Docs","nav":{"global":{"anchors":[{"anchor":"Get All Pro Plugins","icon":"crown","color":{"light":"#b45309","dark":"#fbbf24"},"href":"https://daftplug.com/pricing/?utm_source=documentation\u0026utm_medium=mintlify-docs\u0026utm_campaign=upgrade-to-pro"}]},"tabs":[{"tab":"Progressify","icon":"https://mintlify.s3.us-west-1.amazonaws.com/daftplug/images/progressify.png","pages":[{"title":"Progressify","href":"/progressify/getting-started/introduction"}]},{"tab":"Generatify","icon":"https://mintlify.s3.us-west-1.amazonaws.com/daftplug/images/generatify.png","pages":[{"title":"Generatify","href":"/generatify/getting-started/introduction"}]},{"tab":"Lightify","icon":"https://mintlify.s3.us-west-1.amazonaws.com/daftplug/images/lightify.png","pages":[{"title":"Lightify","href":"/lightify/getting-started/introduction"}]},{"tab":"Crownify","icon":"https://mintlify.s3.us-west-1.amazonaws.com/daftplug/images/crownify.png","groups":[{"group":"Getting started","pages":[{"title":"Introduction","icon":"rocket","href":"/crownify/getting-started/introduction"},{"title":"Installation","icon":"download","href":"/crownify/getting-started/installation"},{"title":"Quickstart","icon":"list-check","href":"/crownify/getting-started/quickstart"},{"title":"Free and Pro","icon":"scale-balanced","href":"/crownify/getting-started/free-vs-pro"}]},{"group":"Settings","pages":[{"title":"General","icon":"gear","href":"/crownify/settings/general"},{"title":"Content types","icon":"file-lines","href":"/crownify/settings/content-types"},{"title":"Sitemaps","icon":"sitemap","href":"/crownify/settings/sitemaps"},{"title":"Schema","icon":"diagram-project","href":"/crownify/settings/schema"},{"title":"Redirects and links","icon":"arrow-right-arrow-left","href":"/crownify/settings/redirects"},{"title":"Social","icon":"share-nodes","href":"/crownify/settings/social"},{"title":"AI and GEO","icon":"robot","href":"/crownify/settings/ai-geo"},{"title":"Notifications","icon":"envelope","href":"/crownify/settings/notifications"}]},{"group":"Guides","pages":[{"title":"Answer engine optimization","icon":"quote-left","href":"/crownify/guides/answer-engines"},{"title":"Switching to Crownify","description":"Moving from Yoast, Rank Math, SEO Press, or All in One SEO without an import.","icon":"right-left","href":"/crownify/guides/migrating"}]},{"group":"Developer reference","pages":[{"title":"Hooks","icon":"code","href":"/crownify/reference/hooks"},{"title":"REST API","description":"The rankify/v1 endpoints, their permissions, and what they do.","icon":"server","href":"/crownify/reference/rest-api"},{"title":"Settings keys","icon":"key","href":"/crownify/reference/settings-keys"}]},{"group":"Support","pages":[{"title":"Troubleshooting","icon":"wrench","href":"/crownify/support/troubleshooting"},{"title":"FAQ","icon":"circle-question","href":"/crownify/support/faq"},{"title":"Get help","icon":"life-ring","href":"/crownify/support/get-help"}]}]},{"tab":"Snapshotify","icon":"https://mintlify.s3.us-west-1.amazonaws.com/daftplug/images/snapshotify.png","pages":[{"title":"Snapshotify","href":"/snapshotify/getting-started/introduction"}]}]},"basePath":"","title":"Hooks - DaftPlug Pro Plugins Docs","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}