This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Astra_Cache_Base::get_current_timestamp()

Gets the current timestamp.


Description


Return

(string) $timestamp Timestamp.


Source

File: classes/cache/class-astra-cache-base.php

	private function get_current_timestamp() {
		$date      = new DateTime();
		$timestamp = $date->getTimestamp();

		return $timestamp;
	}

Changelog

Changelog
Version Description
2.1.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.