Yoast\WP\SEO\Helpers

Date_Helper::current_time()publicYoast 1.0

Returns the current time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).

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

Хуков нет.

Возвращает

int. The current time measured in the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT).

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

$Date_Helper = new Date_Helper();
$Date_Helper->current_time();

Код Date_Helper::current_time() Yoast 24.0

public function current_time() {
	return \time();
}