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

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

add_filter( 'woocommerce_order_needs_shipping_address', 'wp_kama_woocommerce_order_needs_shipping_address_filter', 10, 3 );

/**
 * Function for `woocommerce_order_needs_shipping_address` filter-hook.
 * 
 * @param  $needs_address 
 * @param  $hide          
 * @param  $that          
 *
 * @return 
 */
function wp_kama_woocommerce_order_needs_shipping_address_filter( $needs_address, $hide, $that ){

	// filter...
	return $needs_address;
}
$needs_address
-
$hide
-
$that
-

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

WC_Order::needs_shipping_address()
woocommerce_order_needs_shipping_address
woocommerce/includes/class-wc-order.php 1445
return apply_filters( 'woocommerce_order_needs_shipping_address', $needs_address, $hide, $this );

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

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