| 开发者 | tlloancy |
|---|---|
| 更新时间 | 2026年11月8日 09:14 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp_ai_client_prompt() / wp_ai_client_after_generate_result). When a generation finishes through that API, the plugin writes a row in a table on your database. When the post is saved, it is stamped (origin, model, time) from the generation that was made for it.
The journal stores metadata only: caller plugin, model, provider, context, token counts when available, and the user account that triggered the generation. Prompt and completion text are never stored.
An optional visitor-facing note can appear on posts the plugin stamped as generated or assisted. Unstamped posts stay silent.
What it does
wp_ai_client_after_generate_result (WordPress 7.0+)post_id parameter), or from the only generation waiting for you (15 minutes)tllss_retention_days)wp_ai_client_prompt() exists. On older versions the journal stays empty; you can still set origin by hand in the editor. The block editor panel is shown for post types that support custom fields and the REST API; other types keep the classic box.
tlloancy-source-stamp folder to /wp-content/plugins/.wp_ai_client_prompt(), then check the journal.No. It records AI Client use. Legal assessment stays with the site operator.
When you save a post, the plugin looks for a generation you made in the last 15 minutes. If the generation was made from that post's editor (or a request that names the post), it is used, even when you generated several times: the latest one counts. Otherwise a generation is used only when it is the only one waiting for you; with two, there is no automatic stamp (wrong metadata is worse than a gap). Quick edit and bulk edit never stamp. Tools → Source Stamp → Test calls the AI Client directly: Generate, then Create draft in a second request. The origin field in the editor remains the manual fallback.
No. An origin set by hand is never overwritten by the automatic path.
In the block editor, in the document sidebar under Source Stamp. In the classic editor, in the Source Stamp box.
No. The journal lives in your database. There is no account and no phone-home.
No. Only metadata (time, caller, model, tokens, post ID, user ID).
The journal table, the settings and the scheduled task are deleted, on every site of a multisite. The stamps written on posts (_tllss_* post meta) stay with the content.
No.
tllss_user_can_set_origin).[tllss_label] is already in the content.