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

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

add_filter( 'woocommerce_order_hide_shipping_address', 'wp_kama_woocommerce_order_hide_shipping_address_filter', 10, 2 );

/**
 * Function for `woocommerce_order_hide_shipping_address` filter-hook.
 * 
 * @param  $array 
 * @param  $that  
 *
 * @return 
 */
function wp_kama_woocommerce_order_hide_shipping_address_filter( $array, $that ){

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

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

WC_Order::needs_shipping_address()
woocommerce_order_hide_shipping_address
woocommerce/includes/class-wc-order.php 1433
$hide          = apply_filters( 'woocommerce_order_hide_shipping_address', array( 'local_pickup' ), $this );

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

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