WC_Admin_Status::get_log_file_handle()public staticWC 1.0

Return the log file handle.

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

Хуков нет.

Возвращает

Строку.

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

$result = WC_Admin_Status::get_log_file_handle( $filename );
$filename(строка) (обязательный)
Filename to get the handle for.

Код WC_Admin_Status::get_log_file_handle() WC 8.7.0

public static function get_log_file_handle( $filename ) {
	return substr( $filename, 0, strlen( $filename ) > 48 ? strlen( $filename ) - 48 : strlen( $filename ) - 4 );
}