
外掛標籤
開發者團隊
原文外掛簡介
CloseHub Connector replaces the multiple credentials previously required to link a WordPress site with 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:
Your site URL
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.
