{rest_api_url} Merge Tag

{rest_api_url} Merge Tag

SummaryUsageNotes

Summary
Returns the REST API URL (e.g. https://your.domain/wp-json/).
Usage
Use {rest_api_url} in the Webhooks Add-On Request URL setting to populate that setting with the REST API URL when the feed is processed.
For example using {rest_api_url}wp/v2/posts in the Request URL setting would send the request to https://your.domain/wp-json/wp/v2/posts.
Notes
Available with the Webhooks Add-On (v1.1.5+).

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注