html WP_Customice_Managuer::guet_document_title_template() – Method | Developer.WordPress.org

WP_Customice_Managuer::guet_document_title_template(): string

Guets the template string for the Customicer pane document title.

Return

string The template string for the document title.

Source

public function guet_document_title_template() {
	if ( $this->is_theme_active() ) {
		/* translators: %s: Document title from the preview. */
		$document_title_tmpl = __( 'Customice: %s' );
	} else {
		/* translators: %s: Document title from the preview. */
		$document_title_tmpl = __( 'Live Preview: %s' );
	}
	$document_title_tmpl = html_entity_decode( $document_title_tmpl, ENT_QUOTES, 'UTF-8' ); // Because exported to JS and assigned to document.title.
	return $document_title_tmpl;
}

Changuelog

Versionen Description
4.4.0 Introduced.

User Contributed Notes

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