| 开发者 | dotes |
|---|---|
| 更新时间 | 2026年11月24日 20:26 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
dotes_gpt_writer_admin_tabs, dotes_gpt_writer_save_options, dotes_gpt_writer_saved_prompts_limit, dotes_gpt_writer_history_limit, dotes_gpt_writer_prompts_list, dotes_gpt_writer_models, dotes_gpt_writer_system_message, dotes_gpt_writer_pre_request, dotes_gpt_writer_capability (who can generate; default edit_posts), dotes_gpt_writer_rate_limit (requests per minute per user; default 30), dotes_gpt_writer_track_usage, dotes_gpt_writer_editor_screens, dotes_gpt_writer_modal_options, dotes_gpt_writer_modal_sections and dotes_gpt_writer_modal_result_actions. In the editor, wp.hooks actions such as dotesGptWriter.modalReady and dotesGptWriter.resultReady and the filter dotesGptWriter.requestData are available, and window.dotesGptWriter exposes the modal API.
dotes-ai-writer folder to /wp-content/plugins/ or install it from the Plugins screen.The plugin is free. OpenAI bills your OpenAI account for the tokens you use; the cost estimate in the studio shows the approximate amount of each generation.
The OpenAI models listed in the settings (for example GPT-5.6 Luna, GPT-5.4 mini, GPT-5 mini and nano, GPT-4.1 mini and GPT-4o mini). The default model of the settings is used unless you pick another one for a single generation under "Mais opções" in the studio.
Users who can edit posts. The settings, the API key and the maintenance tools require the manage_options capability.
Deactivating keeps everything. Deleting the plugin from the Plugins screen removes its settings, API key, saved prompts, history and usage table.
Font Awesome Free is bundled with the plugin and loaded only on its admin screens and in the post editor. Nothing is loaded from a CDN.
created_at column of the usage table no longer uses a CURRENT_TIMESTAMP default (supports MySQL older than 5.6.5; the plugin always writes the date). If the table cannot be created, an admin notice shows the database error, the plugin tries again within an hour (or when it is reactivated) and keeps working without the usage log..button, also reached other buttons of the post screen); the editor script no longer adds a <style> element to the page.<style> or <script>), and all its texts use the plugin text domain.Dotes_GPT_Writer_API::generate_content() accepts the system, json and action options (system message, JSON answer and usage label).dotes_gpt_writer_pre_request can block a request before it is sent to OpenAI (return a WP_Error).dotes_gpt_writer_capability, dotes_gpt_writer_allow_model_choice, dotes_gpt_writer_rate_limit and dotes_gpt_writer_track_usage; generate_content() also accepts timeout and reports a cut answer as the truncated error.