Uses
| Uses | Description |
|---|---|
| wp-includes/l10n.php: __() | Retrieve the translation of $text. |
Register date/time format strings for general POT.
Private, unused method to add some date/time formats translated on wp-admin/options-general.php to the general POT that would otherwise be added to the admin POT.
File: wp-includes/class-wp-locale.php
public function _strings_for_pot() {
/* translators: Localized date format, see https://www.php.net/date */
__( 'F j, Y' );
/* translators: Localized time format, see https://www.php.net/date */
__( 'g:i a' );
/* translators: Localized date and time format, see https://www.php.net/date */
__( 'F j, Y g:i a' );
} | Version | Description |
|---|---|
| 3.6.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_locale/_strings_for_pot