WP_Locale::get_meridiem( string $meridiem )

Retrieve translated version of meridiem string.


Description

The $meridiem parameter is expected to not be translated.


Parameters

$meridiem

(Required) Either 'am', 'pm', 'AM', or 'PM'. Not translated version.


Return

(string) Translated version


Source

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

	public function get_meridiem($meridiem) {
		return $this->meridiem[$meridiem];
	}


Changelog

Changelog
Version Description
WP-2.1.0 Introduced.