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

wwob_after_product_label

The wwob_after_product_label filter allow you to add your custom data after each single product label.

Example usage:

[enlighter lang=”php”]
add_filter( ‘wwob_after_product_label’, ‘do_something_after_product_label’, 2, 10 );
function do_something_after_product_label($form_id, $field){
// Do something after product label
$output = “value”;
return $output;
}
[/enlighter]

Placement

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