WP_Locale::get_meridiem( string $meridiem )

Retrieve translated version of meridiem string.


Description Description

The $meridiem parameter is expected to not be translated.


Parameters Parameters

$meridiem

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


Top ↑

Return Return

(string) Translated version


Top ↑

Source Source

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

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

Top ↑

Changelog Changelog

Changelog
Version Description
2.1.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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