wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php:978Checks the post excerpt and prepare it for single post output.
$excerptstring$postWP_PoststringOne hook fires while WP_REST_Revisions_Controller::prepare_excerpt_response() runs, in this order:
protected function prepare_excerpt_response( $excerpt, $post ) { /** This filter is documented in wp-includes/post-template.php */ $excerpt = apply_filters( 'the_excerpt', $excerpt ); if ( empty( $excerpt ) ) { return ''; } return $excerpt; }Introduced in 4.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.