Automattic\WooCommerce\Internal\Admin\Logging\FileV2

File::has_standard_filename()publicWC 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 9.7.1

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