Used By
Used By | Description |
---|---|
wp-includes/functions.php: wp_date() | Retrieves the date, in localized format. |
Retrieve translated version of meridiem string.
The $meridiem parameter is expected to not be translated.
(string) (Required) Either 'am', 'pm', 'AM', or 'PM'. Not translated version.
(string) Translated version
File: wp-includes/class-wp-locale.php
public function get_meridiem( $meridiem ) { return $this->meridiem[ $meridiem ]; }
Version | Description |
---|---|
2.1.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_locale/get_meridiem