woocommerce_logging_class

woocommerce_logging_class

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_logging_class') is found 1 times:

  • /includes/wc-core-functions.php line 2107
     */
    function wc_get_logger() {
    	static $logger = null;
    
    	$class = apply_filters( 'woocommerce_logging_class', 'WC_Logger' );
    
    	if ( null !== $logger && is_string( $class ) && is_a( $logger, $class ) ) {
    		return $logger;
    	}
    
    	$implements = class_implements( $class );