_block_template_render_title_tag()WP 5.8.0

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.

Return

null. Nothing (null).

Usage

_block_template_render_title_tag();

Notes

Changelog

Since 5.8.0 Introduced.

_block_template_render_title_tag() code WP 6.5.2

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