| 开发者 | llmaffiliate01 |
|---|---|
| 更新时间 | 2026年5月4日 16:57 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
/ai-terms page (or equivalent) that displays your site's AI usage and content terms. It functions as a site-published policy page that visitors—including AI systems and human readers—can view. Site owners are responsible for the contents and legal suitability of the terms. The plugin includes a default template; you may customize it to match your needs.
/wp-content/plugins/ using the folder name llmaffiliate-ai-traffic-monetizer (this must match the Text Domain header so automated checks and translations stay aligned).No. WordPress admin, login, REST API, and static assets are always bypassed.
The plugin logs the failure (if enabled), adds an X-LLMAFFTM-Interceptor: fallback header, and allows WordPress to render normally.
Enable “Allow Signed Override” and configure an HMAC secret.
Then append:
?llm_profile=<profile>&llm_sig=<signature>
Signature format:
hash_hmac('sha256', "<path>|<profile>", <secret>)
Yes. Googlebot and other search crawlers always receive original content, ensuring compliance with search engine guidelines.
If the plugin lives in a directory with a different name (for example llm-interceptor), some tools compare that folder to the Text Domain and show a warning. Use the directory name llmaffiliate-ai-traffic-monetizer (the plugin slug) under wp-content/plugins/—the same layout as the WordPress.org distribution ZIP.
llmafftm_ / LLMAFFTM_. Legacy llm_interceptor_* options are migrated on upgrade. Response headers use X-LLMAFFTM-*.wp_json_encode().llmaffiliate-ai-traffic-monetizer.wp_register_style() + wp_enqueue_style() + wp_print_styles()) instead of a direct <link rel="stylesheet"> tag, per the WordPress Plugin Review Team's guidance on correctly enqueuing CSS and JavaScript.== External services == section to the readme that fully discloses the LLM Affiliate cloud service (onboarding and enhanced-content render endpoints), the data transmitted, the conditions under which each request is made, and links to the service's Terms of Service and Privacy Policy — per the WordPress Plugin Review Team's third-party-service disclosure requirement./ai-terms page) are passed through wp_kses() with a full-document allow-list, which is exposed via the new filter llmafftm_allowed_full_html so the list can be extended without modifying plugin files. The JSON-LD structured-data block uses wp_json_encode() inline with the JSON_HEX_TAG|JSON_HEX_AMP|JSON_HEX_APOS|JSON_HEX_QUOT flags so it is safe to inline inside a <script type="application/ld+json"> tag.json_encode() calls with wp_json_encode() (onboarding POST body and suspicious-event debug log) per the WordPress Coding Standards preference for the WP-safe JSON encoder.urlencode() in the enhanced-content URL builder with rawurlencode() so query-string values are encoded per RFC 3986, as recommended by the WordPress Plugin Review Team and WordPress.PHP.DiscouragedPHPFunctions.urlencode_urlencode.https://llmaffiliate.com/terms) and Privacy Policy (https://llmaffiliate.com/privacy) URLs referenced from the == External services == section of this readme.