Matches the request to a callback and call it.
public dispatch ( WP_REST_Request $request ) : WP_REST_Response | ||
$request | WP_REST_Request | Request to attempt dispatching. |
return | WP_REST_Response | Response returned by the callback. |
public dispatch ( WP_REST_Request $request ) : WP_REST_Response | ||
$request | WP_REST_Request | Request to attempt dispatching. |
return | WP_REST_Response | Response returned by the callback. |