The dynamic portion of the hook name, $this->post_type, refers to the post type slug. Possible hook names include: <ul> <li>rest_prepare_post</li> <li>rest_prepare_page</li> <li>rest_prepare_attachment</li> </ul>
2108* @since 4.7.02109*2110* @param WP_REST_Response$response The response object.2111* @param WP_Post$post Post object.2112* @param WP_REST_Request$request Request object.2113*/2114returnapply_filters("rest_prepare_{$this->post_type}",$response,$post,$request);2115}21162117/**2118* Overwrites the defaultprotectedandprivate title format.2119*2120* By default, WordPress will show password protectedorprivate posts with a title of
History
Introduced in 4.7.0. Unchanged from 6.7.7 through 7.1.0.