woocommerce_product_attribute_terms хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_product_attribute_terms', 'filter_function_name_588' ); function filter_function_name_588( $args ){ // filter... return $args; }
- $args
- -
Где вызывается хук
woocommerce_product_attribute_terms
woocommerce/includes/admin/meta-boxes/views/html-product-attribute.php 47
$all_terms = get_terms( $attribute->get_taxonomy(), apply_filters( 'woocommerce_product_attribute_terms', $args ) );