string $post_title, int $post_id )
Filters the post title.
The post title.
The post ID.
the_title is a filter applied to the post title retrieved from the database, prior to printing on the screen. In some cases (such as when the_title is used), the title can be suppressed by returning a false value (e.g.
FALSE or the empty string) from the filter function.
View all references
return apply_filters( 'the_title', $post_title, $post_id );