WC_Product_Variable::get_visible_children PHP Метод

get_visible_children() публичный Метод

Return a products child ids - visible only.
С версии: 2.7.0
public get_visible_children ( string $context = 'view' ) : array
$context string
Результат array Children ids
    public function get_visible_children($context = 'view')
    {
        if (has_filter('woocommerce_get_children')) {
            wc_deprecated_function('The woocommerce_get_children filter', '', 'woocommerce_product_get_children or woocommerce_product_get_visible_children');
        }
        return apply_filters('woocommerce_get_children', $this->get_prop('visible_children', $context), $this, true);
    }