WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WP_Locale::_strings_for_pot() WP 3.6.0

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.

Это метод класса: WP_Locale

Хуков нет.


Null. Ничего.


$WP_Locale = new WP_Locale();
$var = $WP_Locale->_strings_for_pot();

Список изменений

С версии 3.6.0 Введена.

Код WP Locale:: strings for pot: wp-includes/class-wp-locale.php WP 5.4.2

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' );