woocommerce_get_product_terms

woocommerce_get_product_terms

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_get_product_terms') is found 1 times:

  • /includes/wc-term-functions.php line 181
    	if ( ! taxonomy_exists( $taxonomy ) ) {
    		return array();
    	}
    
    	return apply_filters( 'woocommerce_get_product_terms', _wc_get_cached_product_terms( $product_id, $taxonomy, $args ), $product_id, $taxonomy, $args );
    }
    
    /**
     * Sort by name (numeric).
     *
     * @param  WP_Post $a First item to compare.