Checkout: Action Reference

The WordPress Shopping Cart plugin will fire actions throughout it’s code and you can hook onto these actions while receiving parameters and execute your own functions accordingly.

It works exactly like the WordPress Plugin API/Action Reference by using the do_action() function in it’s code and the action hooks are used in the same manner.

More and more action hooks are constantly added to this documentation so remember to search or request more action hooks if you are looking for something specific. Below are all the available action hooks.

Tax Actions

  • wpco_tax_settings_inside_before – Shows when tax calculation is on, before other tax settings at Checkout > Configuration > Tax & Shipping.
  • wpco_tax_settings_inside_after – Shows when tax calculation is on, after the other tax settings at Checkout > Configuration > Tax & Shipping.
  • wpco_tax_settings_outside_before – Shows at the top of the ‘Tax Settings’ box at Checkout > Configuration > Tax & Shipping.
  • wpco_tax_settings_outside_after – Shows at the bottom of the ‘Tax Settings’ box at Checkout > Configuration > Tax & Shipping.

Orders Actions

Suppliers Actions

Payment Method Actions

  • checkout_admin_paymentmethods_list – Runs at the end of the payment methods list under Checkout > Configuration > Payment Methods in the box on the right.
  • checkout_admin_pmethods_metaboxes – Runs at the end of the payment methods meta boxes under Checkout > Configuration > Payment Methods so that you can add your own settings.

Shopping Cart Actions

  • wpco_cart_after_global – Executes after the global custom fields (order options).

Extensions Actions

Website & Email Hosting

Get the best website & email hosting for speed, security, and peace of mind. No restrictions. Freedom to do what you need in order to run your business.

Host Now

Pin It on Pinterest

%d bloggers like this: