Skip to main content

Filter: dt_get_rest_url

Allow filtering of the REST API URL used for pulling post content.

Parameters

NameTypeDescription
$rest_urlstringThe default REST URL to the post.
$blog_idintThe blog ID.
$post_idintThe post ID being retrieved.

Source

Defined in includes/utils.php at line 1362

Returns

REST API URL for pulling post content.

Ready to Get Started?

Distributor is a WordPress plugin that makes it easy to syndicate and reuse content across your websites — whether in a single multisite or across the web.