woocommerce_get_children хук-фильтр . WC 1.0
Использование
add_filter( 'woocommerce_get_children', 'filter_function_name_9506', 10, 3 ); function filter_function_name_9506( $children, $that, $false ){ // filter... return $children; }
- $children
- -
- $that
- -
- $false
- -
Где вызывается хук
woocommerce_get_children
woocommerce_get_children
woocommerce/includes/class-wc-product-variable.php 215
return apply_filters( 'woocommerce_get_children', $this->children, $this, false );
woocommerce/includes/class-wc-product-variable.php 232
return apply_filters( 'woocommerce_get_children', $this->visible_children, $this, true );