rest_prepare_{$this->post_type}

rest_prepare_{$this->post_type}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('rest_prepare_{$this->post_type}') is found 1 times:

  • /wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php line 2108
    		 * @param WP_REST_Response $response The response object.
    		 * @param WP_Post          $post     Post object.
    		 * @param WP_REST_Request  $request  Request object.
    		 */
    		return apply_filters( "rest_prepare_{$this->post_type}", $response, $post, $request );
    	}
    
    	/**
    	 * Overwrites the default protected and private title format.
    	 *
    	 * By default, WordPress will show password protected or private posts with a title of