Title: GymGrow Connect
Author: gymgrowplugin
Published: <strong>2026 年 6 月 23 日</strong>
Last modified: 2026 年 6 月 23 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/gymgrow-connect.svg)

# GymGrow Connect

 作者：[gymgrowplugin](https://profiles.wordpress.org/gymgrowplugin/)

[下载](https://downloads.wordpress.org/plugin/gymgrow-connect.1.0.3.zip)

 * [详情](https://cn.wordpress.org/plugins/gymgrow-connect/#description)
 * [评价](https://cn.wordpress.org/plugins/gymgrow-connect/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/gymgrow-connect/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/gymgrow-connect/#developers)

 [支持](https://wordpress.org/support/plugin/gymgrow-connect/)

## 描述

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:

 * Create or update a post — title, content, excerpt, slug, categories, tags, schedule
   date — in a single request.
 * Set RankMath SEO fields (SEO title, meta description, focus keyword, canonical
   URL, robots) on the same request or on an existing post.
 * Upload an image from a multipart file or a remote URL, set its alt text, and 
   optionally assign it as the featured image.

It replaces ad-hoc `functions.php` snippets with a versioned, capability-checked
plugin.

#### Endpoints

 * `POST /wp-json/gymgrow/v1/article` — publish/update an article (also sets SEO
   and featured image).
 * `POST /wp-json/gymgrow/v1/media` — upload an image.
 * `POST /wp-json/gymgrow/v1/seo/{id}` — update RankMath SEO fields for a post.

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.

## 常见问题

### 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.

## 评价

此插件暂无评价。

## 贡献者及开发者

「GymGrow Connect」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ gymgrowplugin ](https://profiles.wordpress.org/gymgrowplugin/)

[帮助将「GymGrow Connect」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/gymgrow-connect)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/gymgrow-connect/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/gymgrow-connect/)，或通过[RSS](https://plugins.trac.wordpress.org/log/gymgrow-connect/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/gymgrow-connect/)。

## 更新日志

#### 1.0.3

 * Security: omitting the `status` parameter now creates or updates a draft instead
   of publishing. Publishing requires explicitly passing `status=publish`, which
   remains gated by the `publish_posts` capability.

#### 1.0.2

 * Security: editing an existing post that is already published, private, or scheduled(
   future) now requires the `publish_posts` capability even when the request does
   not change the status.

#### 1.0.1

 * Security: the article endpoint now requires the `publish_posts` capability when
   an update changes a post to a published, private, or scheduled (future) status,
   not just `edit_post`.

#### 1.0.0

 * Initial release: article publish endpoint, media upload endpoint, RankMath SEO
   endpoint, optional API key, settings screen.

## 额外信息

 *  版本 **1.0.3**
 *  最后更新：**1 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **7.0.2**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/gymgrow-connect/)
 * 标签
 * [automation](https://cn.wordpress.org/plugins/tags/automation/)[publishing](https://cn.wordpress.org/plugins/tags/publishing/)
   [rankmath](https://cn.wordpress.org/plugins/tags/rankmath/)[rest-api](https://cn.wordpress.org/plugins/tags/rest-api/)
   [seo](https://cn.wordpress.org/plugins/tags/seo/)
 *  [高级视图](https://cn.wordpress.org/plugins/gymgrow-connect/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/gymgrow-connect/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/gymgrow-connect/reviews/)

## 贡献者

 *   [ gymgrowplugin ](https://profiles.wordpress.org/gymgrowplugin/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/gymgrow-connect/)