Filter: dt_get_rest_url

apply_filters( 'dt_get_rest_url', $rest_url, $blog_id, $post_id ) → {string}

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

Parameters:
Name Type Description
$rest_url string

The default REST URL to the post.

$blog_id int

The blog ID.

$post_id int

The post ID being retrieved.

Source:
Returns:

REST API URL for pulling post content.

Type
string