woocommerce_related_products_columns filter-hookWC 1.0

Set global loop values.

Usage

add_filter( 'woocommerce_related_products_columns', 'wp_kama_woocommerce_related_products_columns_filter' );

/**
 * Function for `woocommerce_related_products_columns` filter-hook.
 * 
 * @param  $args_columns 
 *
 * @return 
 */
function wp_kama_woocommerce_related_products_columns_filter( $args_columns ){

	// filter...
	return $args_columns;
}
$args_columns
-

Where the hook is called

woocommerce_related_products()
woocommerce_related_products_columns
woocommerce/includes/wc-template-functions.php 2045
wc_set_loop_prop( 'columns', apply_filters( 'woocommerce_related_products_columns', $args['columns'] ) );

Where the hook is used in WooCommerce

Usage not found.