WC_Admin_Status::get_log_file_handle()
Return the log file handle.
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.
WC_Admin_Status::get_log_file_handle() WC Admin Status::get log file handle code WC 9.7.1
public static function get_log_file_handle( $filename ) { return substr( $filename, 0, strlen( $filename ) > 48 ? strlen( $filename ) - 48 : strlen( $filename ) - 4 ); }