WordPress at Your Fingertips
function is not described

WP_Locale::get_meridiem() public WP 2.1.0

Retrieve translated version of meridiem string.

The $meridiem parameter is expected to not be translated.

{} It's a method of the class: WP_Locale{}

No Hooks.

Return

String. Translated version

Usage

global $wp_locale;
$wp_locale->get_meridiem( $meridiem );
$meridiem(string) (required)
Either 'am', 'pm', 'AM', or 'PM'. Not translated version.

Changelog

Since 2.1.0 Introduced.

Code of WP_Locale::get_meridiem() WP 5.7.2

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