I'm new to WooCommerce and Storefront theme. I am trying to get a sense of the source code before I start modifying it. I'm just having a little difficulty finding out where all the necessary codes are located.
When I open the header.php, I got lost because every functions were hooked to some other files like this.
do_action( 'storefront_before_header' );
Where are these functions defined in Storefront theme? and how can I find where all these do_action functions are defined in the future other than just opening all the files are searching for the strings?
I've looked into files such as:
- storefront-functions.php
- storefront-template-functions.php
- storefront-template-hooks.php
- functions.php