woocommerce_caught_exception

woocommerce_caught_exception

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_caught_exception') is found 1 times:

  • /includes/wc-deprecated-functions.php line 99
    	// @codingStandardsIgnoreStart
    	$message  = $exception_object->getMessage();
    	$message .= '. Args: ' . print_r( $args, true ) . '.';
    
    	do_action( 'woocommerce_caught_exception', $exception_object, $function, $args );
    	error_log( "Exception caught in {$function}. {$message}." );
    	// @codingStandardsIgnoreEnd
    }
    
    /**
     * Wrapper for _doing_it_wrong().
    

See this hook used in plugins: