woocommerce_get_children хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_get_children', 'wp_kama_woocommerce_get_children_filter', 10, 3 );

/**
 * Function for `woocommerce_get_children` filter-hook.
 * 
 * @param  $children 
 * @param  $that     
 * @param  $false    
 *
 * @return 
 */
function wp_kama_woocommerce_get_children_filter( $children, $that, $false ){

	// filter...
	return $children;
}
$children
-
$that
-
$false
-

Где вызывается хук

WC_Product_Variable::get_children()
woocommerce_get_children
WC_Product_Variable::get_visible_children()
woocommerce_get_children
woocommerce/includes/class-wc-product-variable.php 229
return apply_filters( 'woocommerce_get_children', $this->children, $this, false );
woocommerce/includes/class-wc-product-variable.php 246
return apply_filters( 'woocommerce_get_children', $this->visible_children, $this, true );

Где используется хук в WooCommerce

Использование не найдено.