woocommerce_get_product_terms filter-hook . WC 1.0
Usage
add_filter( 'woocommerce_get_product_terms', 'filter_function_name_9773', 10, 4 ); function filter_function_name_9773( $_wc_get_cached_product_terms, $product_id, $taxonomy, $args ){ // filter... return $_wc_get_cached_product_terms; }
- $_wc_get_cached_product_terms
- -
- $product_id
- -
- $taxonomy
- -
- $args
- -
Where the hook is called
woocommerce_get_product_terms
woocommerce/includes/wc-term-functions.php 181
return apply_filters( 'woocommerce_get_product_terms', _wc_get_cached_product_terms( $product_id, $taxonomy, $args ), $product_id, $taxonomy, $args );