Display Cheque payment method only when Local Pickup/Delivery option is selected / Woocommerce

前端 未结 0 1528
醉酒成梦
醉酒成梦 2020-11-28 05:12
function my_custom_available_payment_gateways( $gateways ) {

    $chosen_shipping_rates = WC()->session->get( \'chosen_shipping_methods\' );

    // When \'lo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题