Support » Plugin: PayPal Express Checkout for WooCommerce » Change button action

  • Hello,

    I want to change add_action(‘woocommerce_proceed_to_checkout’, array($this, ‘ex_express_checkout_button’), 22); to add_action(‘woocommerce_after_cart_totals’, array($this, ‘ex_express_checkout_button’), 22);

    Can you please help me?

    I have tried but doesn’t work.
    remove_action(‘woocommerce_proceed_to_checkout’, array(Express_Checkout::get_loader(), ‘ex_express_checkout_button’), 22);
    add_action(‘woocommerce_after_cart_totals’, array(Express_Checkout::get_loader(), ‘ex_express_checkout_button’), 22);

    The page I need help with: [log in to see the link]

  • The topic ‘Change button action’ is closed to new replies.