woocommerce_process_myaccount_field_(key) хук-фильтрWC 1.0

Hook to allow modification of value.

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

add_filter( 'woocommerce_process_myaccount_field_(key)', 'wp_kama_woocommerce_process_myaccount_field_key_filter' );

/**
 * Function for `woocommerce_process_myaccount_field_(key)` filter-hook.
 * 
 * @param  $value 
 *
 * @return 
 */
function wp_kama_woocommerce_process_myaccount_field_key_filter( $value ){

	// filter...
	return $value;
}
$value
-

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

WC_Form_Handler::save_address()
woocommerce_process_myaccount_field_(key)
woocommerce/includes/class-wc-form-handler.php 127
$value = apply_filters( 'woocommerce_process_myaccount_field_' . $key, $value );

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

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