WP_Theme::translate_header

Private AccessPrivate Access

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

SummerySummery

Translate a theme header.

Syntax

WP_Theme::translate_header( string $header, string|array $value )

ParametersParameters

$header

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

$value

(string|array) (Required) Value to translate. An array for Tags header, string otherwise.

ReturnReturn

(string|array) Translated value. An array for Tags header, string otherwise.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
3.4.0 Introduced.
Scroll to Top