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

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

Returns false if the product cannot be bought. Override abstract method so that: i) Disabled variations are not be purchasable by admins. ii) Enabled variations are not purchasable if the parent product is not purchasable.

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

add_filter( 'woocommerce_variation_is_purchasable', 'filter_function_name_6685', 10, 2 );
function filter_function_name_6685( $condition, $that ){
	// filter...

	return $condition;
}
$condition
-
$that
-

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

WC_Product_Variation::is_purchasable()
woocommerce_variation_is_purchasable
woocommerce/includes/class-wc-product-variation.php 547
return apply_filters( 'woocommerce_variation_is_purchasable', $this->variation_is_visible() && parent::is_purchasable() && ( 'publish' === $this->parent_data['status'] || current_user_can( 'edit_post', $this->get_parent_id() ) ), $this );

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

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