_block_template_render_title_tag()
Displays title tag with content, regardless of whether theme has title-tag support.
Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.
No Hooks.
Returns
null. Nothing (null).
Usage
_block_template_render_title_tag();
Notes
Changelog
| Since 5.8.0 | Introduced. |
_block_template_render_title_tag() block template render title tag code WP 6.9.1
function _block_template_render_title_tag() {
echo '<title>' . wp_get_document_title() . '</title>' . "\n";
}