WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

woocommerce_shipping_(id)_is_available хук-фильтр . WC 1.0

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

add_filter( 'woocommerce_shipping_(id)_is_available', 'filter_function_name_9148', 10, 3 );
function filter_function_name_9148( $is_available, $package, $that ){
	// filter...

	return $is_available;
}
$is_available
-
$package
-
$that
-

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

WC_Shipping_Free_Shipping::is_available()
woocommerce_shipping_(id)_is_available
WC_Shipping_Legacy_International_Delivery::is_available()
woocommerce_shipping_(id)_is_available
WC_Shipping_Legacy_Local_Pickup::is_available()
woocommerce_shipping_(id)_is_available
WC_Shipping_Legacy_Free_Shipping::is_available()
woocommerce_shipping_(id)_is_available
WC_Shipping_Method::is_available()
woocommerce_shipping_(id)_is_available
woocommerce/includes/shipping/free-shipping/class-wc-shipping-free-shipping.php 201
return apply_filters( 'woocommerce_shipping_' . $this->id . '_is_available', $is_available, $package, $this );
woocommerce/includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php 83
return apply_filters( 'woocommerce_shipping_' . $this->id . '_is_available', true, $package, $this );
woocommerce/includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php 219
return apply_filters( 'woocommerce_shipping_' . $this->id . '_is_available', $is_available, $package, $this );
woocommerce/includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php 232
return apply_filters( 'woocommerce_shipping_' . $this->id . '_is_available', $is_available, $package, $this );
woocommerce/includes/abstracts/abstract-wc-shipping-method.php 398
return apply_filters( 'woocommerce_shipping_' . $this->id . '_is_available', $available, $package, $this );

Где используется хук (в ядре WC)

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