wp-admin/includes/class-wp-posts-list-table.php:1028Gets a trimmed excerpt to display in place of a missing post title.
$postWP_Poststring protected function get_no_title_excerpt( $post ) { global $mode; if ( 'excerpt' === $mode || '' !== get_the_title( $post ) || post_password_required( $post ) || ! current_user_can( 'read_post', $post->ID ) ) { return ''; } $excerpt = get_the_excerpt( $post ); if ( '' === $excerpt || ! is_string( $excerpt ) ) { return ''; } return esc_html( wp_trim_words( $excerpt, 15 ) ); }Introduced in 7.1.0.
Signature, return type and hooks compared across 1 parsed release.
src/wp-admin/includes/class-wp-posts-list-table.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.