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

wwob_before_product_item

The wwob_before_product_item filter allow you to add your custom data before product items.

Example usage:

[enlighter lang=”php”]
add_filter( ‘wwob_before_product_item’, ‘do_something_before_items’, 2, 10 );
function do_something_before_items($form_id, $field){
// Do something before items
$output = “value”;
return $output;
}
[/enlighter]

Placement

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