woocommerce_cross_sells_columns

woocommerce_cross_sells_columns

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_cross_sells_columns') is found 1 times:

  • /includes/wc-template-functions.php line 2305
    		// Get visible cross sells then sort them at random.
    		$cross_sells = array_filter( array_map( 'wc_get_product', WC()->cart->get_cross_sells() ), 'wc_products_array_filter_visible' );
    
    		wc_set_loop_prop( 'name', 'cross-sells' );
    		wc_set_loop_prop( 'columns', apply_filters( 'woocommerce_cross_sells_columns', $columns ) );
    
    		// Handle orderby and limit results.
    		$orderby     = apply_filters( 'woocommerce_cross_sells_orderby', $orderby );
    		$order       = apply_filters( 'woocommerce_cross_sells_order', $order );
    		$cross_sells = wc_products_array_orderby( $cross_sells, $orderby, $order );
    		/**