WC_Admin_Status::get_log_file_handle()public staticWC 1.0

Return the log file handle.

{} It's a method of the class: WC_Admin_Status{}

No Hooks.

Return

String.

Usage

$result = WC_Admin_Status::get_log_file_handle( $filename );
$filename(string) (required)
Filename to get the handle for.

Code of WC_Admin_Status::get_log_file_handle() WC 6.7.0

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