wpseek.com
A WordPress-centric search engine for devs and theme authors



_wp_render_title_tag › WordPress Function

Since4.1.0
Deprecatedn/a
_wp_render_title_tag ( No parameters )
Access:
  • private
Defined at:
Codex:
Change Log:
  • 4.4.0

Displays title tag with content.



Source

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

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