Skip to content
Integration and Troubleshooting

Developer Hooks and Filters

2 min read

Use the hooks implemented in the installed release and keep output factual. This reference covers a small verified set rather than hypothetical integration names.

Verified Free hooks

HookPurpose
citelayer_llmstxt_contentFilter generated llms text; receives content and is_full
citelayer_llmstxt_enhancement_blockFilter the enhancement block lines
citelayer_llms_txt_max_postsLimit listed posts per type
citelayer_organization_schemaFilter Organization output
citelayer_person_schemaFilter Person output
citelayer_website_schemaFilter WebSite output
citelayer_article_schemaFilter Article data; receives schema and post
citelayer_bot_analytics_cleanup_daysSet local log retention
citelayer_ability_calledObserve ability execution through the audit action

Example: change retention deliberately

add_filter( 'citelayer_bot_analytics_cleanup_days', function ( $days ) {
    return 30;
} );

Put custom integration code in your own plugin. Test on a separate environment before production. A lower retention window makes older activity unavailable; it is not a correction to a score.

Integration verification

  1. Match the hook signature in your installed release source.
  2. Return the expected type and sanitize custom input.
  3. Test generator and public output, including cached reads and SEO enhancement mode.
  4. Check the relevant Woo/EDD route contract separately; do not assume add-ons expose the same hooks.

Current source reference

Free hook definitions: Free 1.13.5 source. Public REST interfaces are described in the API reference.

Next step

Continue with the quick start checklist, or check the common questions. For a reproducible problem, send the plugin versions, affected URL, expected result and actual response through Support. Do not include passwords, license keys or customer details.

Reviewed 6 October 2026 against citelayer® Free 1.13.5, WooCommerce add-on 1.2.19 and EDD add-on 1.2.1. Features depend on the active components and settings on your site.