Summery Summery
Retrieve translated version of meridiem string.
Syntax Syntax
Description Description
The $meridiem parameter is expected to not be translated.
Parameters Parameters
- $meridiem
-
(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 ]; }
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |