LD_REST_Posts_Controller_V1::rest_prepare_response_filter

LD_REST_Posts_Controller_V1::rest_prepare_response_filter( object $response,  object $post,  object $request )

Override the REST response links. This is needed when Course Shared Steps is enabled.


Description #


Parameters #

$response

(object) (Required) WP_REST_Response instance.

$post

(object) (Required) WP_Post instance.

$request

(object) (Required) WP_REST_Request instance.


Source #

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


Changelog #

Changelog
Version Description
3.0 Introduced.