From the course: WordPress Ecommerce: WooCommerce Plugins

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

WordPress and WooCommerce hooks

WordPress and WooCommerce hooks

From the course: WordPress Ecommerce: WooCommerce Plugins

Start my 1-month free trial

WordPress and WooCommerce hooks

- [Instructor] Throughout this course, we're going to be using hooks within WooCommerce to make changes to how WooCommerce works. Now as you can see from the documentation, there are literally hundreds of hooks. They control really big things, like what is in the cart and how much does the order cost, all the way down to the small things, like should the welcome wizard run when you first install WooCommerce. What's great is that WooCommerce hooks are WordPress hooks. Functionally speaking, there is no difference, so if you know how to work with filters and actions in WordPress, then you know how to work with filters and actions in WooCommerce. The downside is that it's sometimes hard to find the right hook. This is a huge list, and it's not always obvious which one to use. So if you wanted to build a settings screen for a plug-in, where would you find that hook? You could maybe start here in Admin, look through some of these links. But it's a bit of a mystery. You may have to look…

Contents