Automattic\WooCommerce\Internal\Admin\Logging\FileV2

File::get_created_timestamp │ public │ WC 1.0

Get the file's created property.

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

Хуков нет.

Возвращает

int.

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

$File = new File();
$File->get_created_timestamp(): int;

Код File::get_created_timestamp() WC 11.2.2

public function get_created_timestamp(): int {
	if ( ! $this->created && $this->is_readable() ) {
		$this->created = filectime( $this->path );
	}

	return $this->created;
}