Browse: Home / Classes / LD_REST_Posts_Controller_V1 /

LD_REST_Posts_Controller_V1::is_rest_request

LD_REST_Posts_Controller_V1::is_rest_request( object $request )

Check if REST Request is for this version/route.


Description #


Parameters #

$request

(object) (Required) WP_REST_Request Request instance.


Return #

(bool) true if match.


Source #

File: includes/rest-api/v1/class-ld-rest-posts-controller.php


Changelog #

Changelog
Version Description
3.4.2 Introduced.