Linux 软件免费装

GymGrow Connect

开发者 gymgrowplugin
更新时间 2026年6月23日 18:52
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

seo publishing automation rest-api rankmath

下载

1.0.3

详情介绍:

GymGrow Connect adds a small set of secure REST API endpoints under the gymgrow/v1 namespace so an external system (for example, an AI content pipeline) can: It replaces ad-hoc functions.php snippets with a versioned, capability-checked plugin. Endpoints A backward-compatible alias POST /wp-json/custom/v1/rankmath/{id} is also registered for pipelines that used the legacy route. Authentication Requests are authenticated with WordPress's own user authentication — use an Application Password (Basic Auth) for a user who can publish posts. Permissions are enforced per route with capability checks (publish_posts, upload_files, edit_post). You may optionally enable a second-factor shared secret (X-GymGrow-Key header) from the settings screen. This plugin does not call any external services and stores no personal data.

安装:

  1. Upload the gymgrow-connect folder to /wp-content/plugins/, or install the ZIP via Plugins → Add New → Upload Plugin.
  2. Activate the plugin through the Plugins screen.
  3. (Optional) Visit Settings → GymGrow Connect to generate an API key, choose a default category, and set a default status.
  4. Create an Application Password for the publishing user under Users → Profile, and use it as Basic Auth in your pipeline.

升级注意事项:

1.0.3 Omitting the status parameter now defaults to draft instead of publish, so a post cannot be published without explicitly requesting it. 1.0.2 Hardens the publish permission check so editing an already-published post requires the publish_posts capability even when the status is unchanged. 1.0.1 Hardens the publish permission check so editing an existing post cannot be used to publish without the publish_posts capability. 1.0.0 Initial release.

常见问题:

Does it require RankMath?

No. If RankMath is active the SEO fields take effect immediately. If not, the meta is still stored under the RankMath meta keys and becomes live once RankMath is installed.

How are the endpoints secured?

Every route has a capability-based permission_callback. Publishing requires publish_posts, uploads require upload_files, and SEO updates require edit_post on the target post. You can additionally require a matching X-GymGrow-Key header.

Does it send data anywhere?

No. The plugin only receives requests; it does not phone home or contact third-party services.

更新日志:

1.0.3 1.0.2 1.0.1 1.0.0