WC_Admin_Status::get_log_file_handle
Return the log file handle.
Method of the class: WC_Admin_Status{}
No Hooks.
Returns
String.
Usage
$result = WC_Admin_Status::get_log_file_handle( $filename );
- $filename(string) (required)
- Filename to get the handle for.
WC_Admin_Status::get_log_file_handle() WC Admin Status::get log file handle code WC 10.5.0
public static function get_log_file_handle( $filename ) {
return substr( $filename, 0, strlen( $filename ) > 48 ? strlen( $filename ) - 48 : strlen( $filename ) - 4 );
}