woocommerce_payment_gateway_save_new_payment_method_option_html

woocommerce_payment_gateway_save_new_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_save_new_payment_method_option_html') is found 1 times:

  • /includes/abstracts/abstract-wc-payment-gateway.php line 549
    			esc_attr( $this->id ),
    			esc_html__( 'Save to account', 'woocommerce' )
    		);
    
    		echo apply_filters( 'woocommerce_payment_gateway_save_new_payment_method_option_html', $html, $this ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    	}
    
    	/**
    	 * Add payment method via account screen. This should be extended by gateway plugins.
    	 *
    	 * @since 3.2.0 Included here from 3.2.0, but supported from 3.0.0.