woocommerce_register_log_handlers

woocommerce_register_log_handlers

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_register_log_handlers') is found 1 times:

  • /includes/class-wc-logger.php line 50
    			 * @param WC_Log_Handler_Interface[]
    			 *
    			 * @since 3.0.0
    			 */
    			$handlers = apply_filters( 'woocommerce_register_log_handlers', array( $handler_instance ) );
    		}
    
    		$register_handlers = array();
    
    		if ( ! empty( $handlers ) && is_array( $handlers ) ) {
    			foreach ( $handlers as $handler ) {
    

See this hook used in plugins: