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

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

add_filter( 'woocommerce_shipping_(id)_instance_settings_values', 'wp_kama_woocommerce_shipping_id_instance_settings_values_filter', 10, 2 );

/**
 * Function for `woocommerce_shipping_(id)_instance_settings_values` filter-hook.
 * 
 * @param  $instance_settings 
 * @param  $that              
 *
 * @return 
 */
function wp_kama_woocommerce_shipping_id_instance_settings_values_filter( $instance_settings, $that ){

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

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

WC_Shipping_Method::process_admin_options()
woocommerce_shipping_(id)_instance_settings_values
woocommerce/includes/abstracts/abstract-wc-shipping-method.php 567
return update_option( $this->get_instance_option_key(), apply_filters( 'woocommerce_shipping_' . $this->id . '_instance_settings_values', $this->instance_settings, $this ), 'yes' );

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

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