Title: CloseHub Connector
Author: Close·technology
Published: <strong>30 Tháng 6, 2026</strong>
Last modified: 7 Tháng 7, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/closehub-connector/assets/banner-772x250.png?rev=3592190)

![](https://ps.w.org/closehub-connector/assets/icon-256x256.png?rev=3592190)

# CloseHub Connector

 Bởi [Close·technology](https://profiles.wordpress.org/closetechnology/)

[Tải về](https://downloads.wordpress.org/plugin/closehub-connector.1.0.3.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/closehub-connector/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/closehub-connector/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/closehub-connector/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/closehub-connector/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/closehub-connector/)

## Mô tả

CloseHub Connector replaces the multiple credentials previously required to link
a WordPress site with [CloseHub](https://close.marketing/closehub/) — a marketing
project management platform.

Once the plugin is activated, it generates a secure API key and exposes a dedicated
REST API namespace (`/wp-json/closehub/v1/`) that CloseHub uses to interact with
your site.

**What it replaces:**

 * WordPress Application Password (username + password)
 * WooCommerce REST API consumer key and consumer secret
 * Gravity Forms API key

**You only need to share two things with CloseHub:**

 1. Your site URL
 2. The generated API key (found at Settings  CloseHub)

**Available endpoints:**

 * `GET /closehub/v1/ping` — verify the connection
 * `POST /closehub/v1/posts` — publish or draft a post
 * `GET /closehub/v1/woocommerce/orders` — fetch order data (requires WooCommerce)
 * `GET /closehub/v1/gravity-forms/forms` — list forms (requires Gravity Forms)
 * `GET /closehub/v1/gravity-forms/forms/{id}` — get form details
 * `GET /closehub/v1/gravity-forms/forms/{id}/entries` — count form entries by date
   range

WooCommerce and Gravity Forms endpoints return a clear error if those plugins are
not active — they are not required.

**Multisite networks:**

On a WordPress Multisite network, the same endpoints listed above are shared by 
every site in the network — there is no separate namespace or key to manage. Activate
the plugin network-wide and go to **Network Admin  Settings  CloseHub** to find 
one API key shared by the whole network. Every request to those endpoints automatically
returns a `sites` array with one entry per site in the network (`site_id`, `url`,
and that site’s data or an `error` message), instead of a single site’s result —
handy when a network is used to run the same company in multiple languages.

## Cài đặt

 1. Upload the `closehub-connector` folder to `/wp-content/plugins/`.
 2. Activate the plugin through the **Plugins** screen in WordPress admin.
 3. Go to **Settings  CloseHub**.
 4. Copy the **Site URL** and **API Key** shown on that page.
 5. Paste both values into CloseHub under your project’s WordPress connection settings.

## Hỏi đáp

### Where do I find my API key?

Go to **Settings  CloseHub** in your WordPress admin. The key is displayed there
along with a copy button.

### Can I regenerate the API key?

Yes. Click **Regenerate Key** on the Settings  CloseHub page. The old key stops 
working immediately — update CloseHub with the new key right away.

### Do I need WooCommerce or Gravity Forms installed?

No. Both are optional. If they are not active, those endpoints return a `503` response
with a clear message instead of crashing.

### How is the API key secured?

The key is stored in `wp_options` (or network-wide in `wp_sitemeta` on multisite),
never exposed on the frontend, transmitted only via HTTPS, and verified using constant-
time comparison (`hash_equals`) to prevent timing attacks. It is never logged or
included in REST responses.

### Can I use this plugin on a multisite network?

Yes. When network-activated, the plugin generates one API key shared by every site
in the network (managed from **Network Admin  Settings  CloseHub** instead of a 
per-site Settings page), and the same REST endpoints automatically query every site
and return combined, per-site results. On a regular, non-multisite install, everything
works exactly as a single site as described above.

### Is this plugin affiliated with WooCommerce or Gravity Forms?

No. It integrates with those plugins using their public PHP APIs but is not developed,
endorsed, or supported by WooCommerce or Gravity Forms.

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“CloseHub Connector” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Close·technology ](https://profiles.wordpress.org/closetechnology/)
 *   [ David Perez ](https://profiles.wordpress.org/davidperez/)

“CloseHub Connector” đã được dịch qua 1 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/closehub-connector/contributors)
vì đóng góp của họ.

[Dịch “CloseHub Connector” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/closehub-connector)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/closehub-connector/), check
out [SVN repository](https://plugins.svn.wordpress.org/closehub-connector/), hoặc
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/closehub-connector/)
qua [RSS](https://plugins.trac.wordpress.org/log/closehub-connector/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 1.0.3

 * Fixed: sites that already had an API key configured on a subsite before multisite
   support was added (<=1.0.1) now keep working after upgrading — the existing key
   is migrated to the network-wide setting instead of a new one being generated,
   which previously caused CloseHub requests to fail with 401.

#### 1.0.2

 * Added WordPress Multisite network support: one API key shared across the whole
   network, managed from Network Admin  Settings  CloseHub.
 * On multisite, existing endpoints (ping, posts, woocommerce/orders, gravity-forms/*)
   now return combined results for every site in the network instead of a single
   site.

#### 1.0.1

 * Updated assets.

#### 1.0.0

 * Initial release.
 * Single API key replaces WordPress Application Password, WooCommerce REST credentials,
   and Gravity Forms API key.
 * Endpoints: ping, posts, woocommerce/orders, gravity-forms/forms.
 * Admin settings page at Settings  CloseHub with copy buttons and regenerate key
   action.

## Meta

 *  Phiên bản **1.0.2**
 *  Cập nhật lần cuối **2 tuần trước**
 *  Số lượt cài đặt **Ít hơn 10**
 *  Phiên bản WordPress ** 6.4 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0.2**
 *  Phiên bản PHP ** 8.1 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/closehub-connector/) và [Spanish (Spain)](https://es.wordpress.org/plugins/closehub-connector/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/closehub-connector)
 * Thẻ
 * [api](https://vi.wordpress.org/plugins/tags/api/)[gravity forms](https://vi.wordpress.org/plugins/tags/gravity-forms/)
   [integration](https://vi.wordpress.org/plugins/tags/integration/)[woocommerce](https://vi.wordpress.org/plugins/tags/woocommerce/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/closehub-connector/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

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

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/closehub-connector/reviews/)

## Những người đóng góp

 *   [ Close·technology ](https://profiles.wordpress.org/closetechnology/)
 *   [ David Perez ](https://profiles.wordpress.org/davidperez/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/closehub-connector/)