190functiontwenty_twenty_one_post_title($title){191if(is_admin()){192return$title;193}194195return''===$title?esc_html_x('Untitled','Added on the front end to posts and pages that are missing titles','twentytwentyone'):$title;196}
History
Introduced in Twenty Twenty-One 2.9 Only applies the filter on the front end.. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
Twenty Twenty-One 2.9 Only applies the filter on the front end.
Twenty Twenty-One 2.9 Only applies the filter on the front end.from the docblock
Twenty Twenty-One 1.0
Twenty Twenty-One 1.0from the docblock
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-content/themes/twentytwentyone/inc/template-functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.