woocommerce_cross_sells_order
Usage
add_filter( 'woocommerce_cross_sells_order', 'wp_kama_woocommerce_cross_sells_order_filter' ); /** * Function for `woocommerce_cross_sells_order` filter-hook. * * @param $order * * @return */ function wp_kama_woocommerce_cross_sells_order_filter( $order ){ // filter... return $order; }
- $order
- -
Where the hook is called
woocommerce_cross_sells_order
woocommerce/includes/wc-template-functions.php 2274
$order = apply_filters( 'woocommerce_cross_sells_order', $order );