Automattic\WooCommerce\Internal\Admin\Logging\FileV2

File::get_created_timestamppublicWC 1.0

Get the file's created property.

Method of the class: File{}

No Hooks.

Returns

Int.

Usage

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

File::get_created_timestamp() code WC 10.9.1

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

	return $this->created;
}