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

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

add_filter( 'woocommerce_get_checkout_order_received_url', 'wp_kama_woocommerce_get_checkout_order_received_url_filter', 10, 2 );

/**
 * Function for `woocommerce_get_checkout_order_received_url` filter-hook.
 * 
 * @param  $order_received_url 
 * @param  $that               
 *
 * @return 
 */
function wp_kama_woocommerce_get_checkout_order_received_url_filter( $order_received_url, $that ){

	// filter...
	return $order_received_url;
}
$order_received_url
-
$that
-

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

WC_Order::get_checkout_order_received_url()
woocommerce_get_checkout_order_received_url
woocommerce/includes/class-wc-order.php 1608
return apply_filters( 'woocommerce_get_checkout_order_received_url', $order_received_url, $this );

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

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