Automattic\WooCommerce\Internal\Admin\Logging\FileV2

File::has_standard_filenamepublicWC 1.0

Check if the filename structure is in the expected format.

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

Хуков нет.

Возвращает

true|false.

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

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

Заметки

  • Смотрите: parse_path().

Код File::has_standard_filename() WC 10.7.0

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