Automattic\WooCommerce\Internal\Admin\Logging\FileV2
File::get_basename()
Get the name of the file, with extension, but without full path.
Метод класса: File{}
Хуков нет.
Возвращает
Строку
.
Использование
$File = new File(); $File->get_basename(): string;
Код File::get_basename() File::get basename WC 9.7.1
public function get_basename(): string { return basename( $this->path ); }