woocommerce_upsells_orderby filter-hookWC 1.0

Usage

add_filter( 'woocommerce_upsells_orderby', 'wp_kama_woocommerce_upsells_orderby_filter' );

/**
 * Function for `woocommerce_upsells_orderby` filter-hook.
 * 
 * @param  $args[orderby] 
 *
 * @return 
 */
function wp_kama_woocommerce_upsells_orderby_filter( $args[orderby] ){

	// filter...
	return $args[orderby];
}
$args[orderby]
-

Where the hook is called

woocommerce_upsell_display()
woocommerce_upsells_orderby
woocommerce/includes/wc-template-functions.php 2081
$orderby = apply_filters( 'woocommerce_upsells_orderby', isset( $args['orderby'] ) ? $args['orderby'] : $orderby );

Where the hook is used in WooCommerce

Usage not found.