_block_template_render_title_tag()

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness. Use _wp_render_title_tag() instead.

Displays title tag with content, regardless of whether theme has title-tag support.

Description

See also

Source

File: wp-includes/block-template.php

function _block_template_render_title_tag() {
	echo '<title>' . wp_get_document_title() . '</title>' . "\n";
}

Changelog

Version Description
5.8.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/_block_template_render_title_tag