woocommerce_payment_gateway_get_saved_payment_method_option_html

woocommerce_payment_gateway_get_saved_payment_method_option_html

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_payment_gateway_get_saved_payment_method_option_html') is found 1 times:

  • /includes/abstracts/abstract-wc-payment-gateway.php line 511
    			esc_html( $token->get_display_name() ),
    			checked( $token->is_default(), true, false )
    		);
    
    		return apply_filters( 'woocommerce_payment_gateway_get_saved_payment_method_option_html', $html, $token, $this );
    	}
    
    	/**
    	 * Displays a radio button for entering a new payment method (new CC details) instead of using a saved method.
    	 * Only displayed when a gateway supports tokenization.
    	 *