1. Home
  2. Docs
  3. WooCommerce Order Builder
  4. Actions and Filters
  5. wwob_before_products


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


This code should be placed in the functions.php file of your active theme.

Was this article helpful to you? Yes No