WP_Locale::get_meridiem( string $meridiem )

Retrieves translated version of meridiem string.


Description

The $meridiem parameter is expected to not be translated.


Top ↑

Parameters

$meridiem

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


Top ↑

Return

(string) Translated version


Top ↑

Source

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

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


Top ↑

Changelog

Changelog
Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes

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