WC_Log_Handler_File::get_log_file_path( string $handle )
Get a log file path.
Description Description
Parameters Parameters
- $handle
-
(Required) Log name.
Return Return
(bool|string) The log file path or false if path cannot be determined.
Source Source
File: includes/log-handlers/class-wc-log-handler-file.php
public static function get_log_file_path( $handle ) { if ( function_exists( 'wp_hash' ) ) { return trailingslashit( WC_LOG_DIR ) . self::get_log_file_name( $handle ); } else { wc_doing_it_wrong( __METHOD__, __( 'This method should not be called before plugins_loaded.', 'woocommerce' ), '3.0' ); return false; } }