Yoast\WP\SEO\Expiring_Store\Application

Expiring_Store::current_datetimeprivateYoast 1.0

Returns the current datetime in 'Y-m-d H:i:s' format.

Метод класса: Expiring_Store{}

Хуков нет.

Возвращает

Строку. The current datetime.

Использование

// private - только в коде основоного (родительского) класса
$result = $this->current_datetime(): string;

Код Expiring_Store::current_datetime() Yoast 27.7

private function current_datetime(): string {
	return \gmdate( 'Y-m-d H:i:s', $this->date_helper->current_time() );
}