woocommerce_logger_log_message

woocommerce_logger_log_message

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_logger_log_message') is found 1 times:

  • /includes/class-wc-logger.php line 161
    				 * @param string $level   One of: emergency, alert, critical, error, warning, notice, info, or debug.
    				 * @param array  $context Additional information for log handlers.
    				 * @param object $handler The handler object, such as WC_Log_Handler_File. Available since 5.3.
    				 */
    				$message = apply_filters( 'woocommerce_logger_log_message', $message, $level, $context, $handler );
    
    				if ( null !== $message ) {
    					$handler->handle( $timestamp, $level, $message, $context );
    				}
    			}
    		}