Support » Plugin: WooCommerce PayPal Checkout Payment Gateway » Buttons action hook name

  • Resolved mrerrand

    (@mrerrand)


    Hello everyone,
    does anybody know what is $this in

    add_action( ‘woocommerce_before_cart_totals’, array( $this, ‘before_cart_totals’ ) );
    add_action( ‘woocommerce_widget_shopping_cart_buttons’, array( $this, ‘display_mini_paypal_button’ ), 20 );
    add_action( ‘woocommerce_proceed_to_checkout’, array( $this, ‘display_paypal_button’ ), 20 );

    I took it from here woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-cart-handler.php and i need it to move buttons

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Support nixiack8

    (@nixiack8)

    Hi @mrerrand,

    These actions are what WooCommerce uses to display the paypal button. If you are needing to move the button location in the Checkout page, consult with your theme developer as they should be able to assist with this 🙂 If you have any other questions please let me know!

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