woocommerce_caught_exception, $exception_object, $function, $args

woocommerce_caught_exception, $exception_object, $function, $args

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_caught_exception, $exception_object, $function, $args') is found 1 times:

  • /includes/wc-deprecated-functions.php line 103
    	// @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().