Filter the saved payment method HTML.
$html, $token, $this
Sortie :
@param string $html HTML for the saved payment methods. @param string $token Token. @param WC_Payment_Gateway $this Payment gateway instance. @return string
// Modifier la valeur avec le filtre 'woocommerce_payment_gateway_get_saved_payment_method_option_html'
add_filter('woocommerce_payment_gateway_get_saved_payment_method_option_html', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($html) {
// Modifier la valeur
return $html;
}
Chargement des actualités...