woocommerce_upsells_order

woocommerce_upsells_order

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_upsells_order') is found 1 times:

  • /includes/wc-template-functions.php line 2224
    		wc_set_loop_prop( 'name', 'up-sells' );
    		wc_set_loop_prop( 'columns', apply_filters( 'woocommerce_upsells_columns', isset( $args['columns'] ) ? $args['columns'] : $columns ) );
    
    		$orderby = apply_filters( 'woocommerce_upsells_orderby', isset( $args['orderby'] ) ? $args['orderby'] : $orderby );
    		$order   = apply_filters( 'woocommerce_upsells_order', isset( $args['order'] ) ? $args['order'] : $order );
    		/**
    		 * Filter the number of upsell products should on the product page.
    		 *
    		 * @param int $limit number of upsell products.
    		 * @since 3.0.0
    		 */