Translations::get_header() WordPress Method

The Translations::get_header() method is used to get the translated header for a given string. This is useful for internationalizing your Wordpress site.

Translations::get_header( string $header ) #


Parameters

$header

(string)(Required)


Top ↑

Source

File: wp-includes/pomo/translations.php

		public function get_header( $header ) {
			return isset( $this->headers[ $header ] ) ? $this->headers[ $header ] : false;
		}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.