Automattic\WooCommerce\Internal\Admin\Logging\FileV2

File::get_basename │ public │ WC 1.0

Get the name of the file, with extension, but without full path.

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

Хуков нет.

Возвращает

string.

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

$File = new File();
$File->get_basename(): string;

Код File::get_basename() WC 11.2.2

public function get_basename(): string {
	return basename( $this->path );
}