Automattic\WooCommerce\Internal\Admin\Logging\FileV2
File::get_created_timestamp
Get the file's created property.
Метод класса: File{}
Хуков нет.
Возвращает
int.
Использование
$File = new File(); $File->get_created_timestamp(): int;
Код File::get_created_timestamp() File::get created timestamp WC 10.4.3
public function get_created_timestamp(): int {
if ( ! $this->created && $this->is_readable() ) {
$this->created = filectime( $this->path );
}
return $this->created;
}