• Resolved ryanmvickerman

    (@ryanmvickerman)


    Wondering if there is a way to disable the “Save to account” function?

    Is it as simple as hiding .woocommerce-SavedPaymentMethods-saveNew? Didn’t know if that would have any down-line consequences.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @ryanmvickerman,

    I don’t see any obvious issues with hiding the “Save to account” checkbox using CSS. If you are using the Classic Checkout, you also can hide this checkbox with the code snippet below:

    add_filter( 'woocommerce_payment_gateway_save_new_payment_method_option_html', '__return_empty_string' );
    Thread Starter ryanmvickerman

    (@ryanmvickerman)

    @rahmohn …awesome…thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.