Automattic\WooCommerce\Internal\Admin\Logging\FileV2
FileExporter::get_filename
Get the name of the file that will be sent to the browser.
Метод класса: FileExporter{}
Хуков нет.
Возвращает
Строку.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_filename(): string;
Код FileExporter::get_filename() FileExporter::get filename WC 10.5.0
private function get_filename(): string {
if ( $this->alternate_filename ) {
return $this->alternate_filename;
}
return basename( $this->path );
}