The wwob_before_products action fires before the products.
Example usage:
[enlighter lang=”php”]
add_action( ‘wwob_before_products’, ‘add_something_before_all_products’, 2, 10 );
function add_something_before_all_products($products, $id){
// Do something before products load
}
[/enlighter]
Placement
This code should be placed in the functions.php file of your active theme.