woocommerce_get_product_class_include_taxonomies хук-фильтр . WC 1.0
Include attributes and any extra taxonomies only if enabled via the hook - this is a performance issue.
Использование
add_filter( 'woocommerce_get_product_class_include_taxonomies', 'filter_function_name_7856' ); function filter_function_name_7856( $false ){ // filter... return $false; }
- $false
- -
Где вызывается хук
woocommerce/includes/wc-template-functions.php 691
if ( apply_filters( 'woocommerce_get_product_class_include_taxonomies', false ) ) {