_wp_render_title_tag
Displays title tag with content.
Description
_wp_render_title_tag();
Usage
if ( !function_exists( '_wp_render_title_tag' ) ) { require_once ABSPATH . WPINC . '/general-template.php'; } // NOTICE! Understand what this does before running. $result = _wp_render_title_tag();
Defined (1)
The function is defined in the following location(s).
- /wp-includes/general-template.php
- function _wp_render_title_tag() {
- if ( ! current_theme_supports( 'title-tag' ) ) {
- return;
- }
- echo '<title>' . wp_get_document_title() . '</title>' . "\n";
- }