woocommerce_variable_children_args filter-hookWC 1.0

Usage

add_filter( 'woocommerce_variable_children_args', 'wp_kama_woocommerce_variable_children_args_filter', 10, 3 );

/**
 * Function for `woocommerce_variable_children_args` filter-hook.
 * 
 * @param  $all_args 
 * @param  $product  
 * @param  $false    
 *
 * @return 
 */
function wp_kama_woocommerce_variable_children_args_filter( $all_args, $product, $false ){

	// filter...
	return $all_args;
}
$all_args
-
$product
-
$false
-

Where the hook is called

WC_Product_Variable_Data_Store_CPT::read_children()
woocommerce_variable_children_args
woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php 150
$children['all']     = get_posts( apply_filters( 'woocommerce_variable_children_args', $all_args, $product, false ) );
woocommerce/includes/data-stores/class-wc-product-variable-data-store-cpt.php 151
$children['visible'] = get_posts( apply_filters( 'woocommerce_variable_children_args', $visible_only_args, $product, true ) );

Where the hook is used in WooCommerce

Usage not found.