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.9.8.1

do_action('woocommerce_caught_exception') is found 1 times:

  • /includes/wc-deprecated-functions.php line 99
    095
    096
    097
    098
    099
    100
    101
    102
    103
    104
    105
        // @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: