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.
Return Return
(string) Translated version
Source Source
File: wp-includes/class-wp-locale.php
public function get_meridiem( $meridiem ) { return $this->meridiem[ $meridiem ]; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |