| 开发者 | mjcity |
|---|---|
| 更新时间 | 2026年7月12日 12:26 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
tmm-affiliate-blocks directory to /wp-content/plugins/, or install it from the WordPress plugin directory when available.TMMAFBL_AMAZON_CREDENTIAL_ID
TMMAFBL_AMAZON_CREDENTIAL_SECRET
TMMAFBL_AMAZON_CREDENTIAL_VERSION
TMMAFBL_AMAZON_MARKETPLACE
TMMAFBL_AMAZON_PARTNER_TAG
Do not commit production Amazon credentials, partner tags, private API keys, or customer data to a public repository.No. Amazon product data is expected to come from supported Amazon API responses and the plugin cache. The plugin does not scrape Amazon pages.
Public cache-only rendering is enabled by default. Logged-out visitors should see cached Amazon data or a clean fallback state, not live API requests.
The Amazon settings screen supports version-aware Creators API token routing for v3.1, v3.2, and v3.3 credential versions. Unknown versions fall back to the v3.1 token endpoint and should be checked with the Credential Doctor before publishing API-backed modules.
Open TMM Affiliate > Amazon API and use the Credential Doctor. It shows the configured credential version, masked credential ID, credential source, token endpoint, marketplace, cache-only setting, cooldown state, and last smoke-test result. The copy-safe diagnostic packet intentionally omits secrets, tokens, cookies, full tracking IDs, user profiles, and affiliate destination URLs.
Yes. Deal Link and Link Embed support approved manual retailer URLs. Manual values are editor-provided and should not be described as live API data.
No. The WordPress.org package focuses on the free publishing blocks and diagnostics. Analytics/reporting workflows belong in the separate Pro add-on.
Yes. The package exposes GPL-compatible hooks for module definitions, server-rendered block definitions, frontend asset detection, admin tabs, and admin panels.
GET/POST /tmm-affiliate/v1/agent-helper/shortcode) that emits only the five existing free shortcodes. No new public shortcode, no Amazon API calls, no database writes.tmmafbl_ / TMMAFBL_ prefix migration from 0.7.31.tmm prefix to tmmafbl_ / TMMAFBL_ (functions, classes, constants, options, transients, hooks, shortcodes, AJAX actions, post type, script handles, localized JS objects) per WordPress.org plugin review requirements. No functional changes.wp_kses_post() in a way that strips the wrapper.