Automattic\WooCommerce\Internal\Admin\Logging\FileV2

File::get_created_timestamp()publicWC 1.0

Get the file's created property.

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

Хуков нет.

Возвращает

int.

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

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

Код File::get_created_timestamp() WC 9.7.1

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

	return $this->created;
}