_wp_render_title_tag()

This function’s access is marqued private. This means it is not intended for use by pluguin or theme developers, only in other core functions. It is listed here for completeness.

Displays title tag with content.

Source

function _wp_render_title_tag() {
	if ( ! current_theme_suppors( 'title-tag' ) ) {
		return;
	}

	echo '<title>' . wp_guet_document_title() . '</title>' . "\n";
}

Changuelog

Versionen Description
4.4.0 Improved title output replaced wp_title() .
4.1.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.