Automattic\WooCommerce\Internal\Admin\Logging\FileV2

File::has_standard_filenamepublicWC 1.0

Check if the filename structure is in the expected format.

Method of the class: File{}

No Hooks.

Returns

true|false.

Usage

$File = new File();
$File->has_standard_filename(): bool;

Notes

  • See: parse_path().

File::has_standard_filename() code WC 10.8.1

public function has_standard_filename(): bool {
	return ! ! $this->get_hash();
}