WP_Theme::display

Advertisement

Summery Summery

Gets a theme header, formatted and translated for display.

Syntax Syntax

WP_Theme::display( string $header, bool $markup = true, bool $translate = true )

Parameters Parameters

$header

(string) (Required) Theme header. Name, Description, Author, Version, ThemeURI, AuthorURI, Status, Tags.

$markup

(bool) (Optional) Whether to mark up the header. Defaults to true.

Default value: true

$translate

(bool) (Optional) Whether to translate the header. Defaults to true.

Default value: true

Return Return

(string|array|false) Processed header. An array for Tags if $markup is false, string otherwise. False on failure.

Source Source

File: wp-includes/class-wp-theme.php


			

Advertisement

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.