woocommerce_shortcode_order_tracking_order_id хук-фильтрWC 1.0

Использование

add_filter( 'woocommerce_shortcode_order_tracking_order_id', 'wp_kama_woocommerce_shortcode_order_tracking_id_filter' );

/**
 * Function for `woocommerce_shortcode_order_tracking_order_id` filter-hook.
 * 
 * @param  $order_id 
 *
 * @return 
 */
function wp_kama_woocommerce_shortcode_order_tracking_id_filter( $order_id ){

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

Где вызывается хук

WC_Shortcode_Order_Tracking::output()
woocommerce_shortcode_order_tracking_order_id
woocommerce/includes/shortcodes/class-wc-shortcode-order-tracking.php 52
$order = wc_get_order( apply_filters( 'woocommerce_shortcode_order_tracking_order_id', $order_id ) );

Где используется хук в WooCommerce

woocommerce/includes/wc-order-functions.php 1066
add_filter( 'woocommerce_shortcode_order_tracking_order_id', 'wc_sanitize_order_id' );