(hook_prefix)(address)_(prop) хук-фильтрWC 1.0

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

add_filter( '(hook_prefix)(address)_(prop)', 'wp_kama_hook_prefixaddress_prop_filter', 10, 2 );

/**
 * Function for `(hook_prefix)(address)_(prop)` filter-hook.
 * 
 * @param  $value 
 * @param  $that  
 *
 * @return 
 */
function wp_kama_hook_prefixaddress_prop_filter( $value, $that ){

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

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

WC_Customer::get_address_prop()
(hook_prefix)(address)_(prop)
WC_Order::get_address_prop()
(hook_prefix)(address)_(prop)
woocommerce/includes/class-wc-customer.php 458
$value = apply_filters( $this->get_hook_prefix() . $address . '_' . $prop, $value, $this );
woocommerce/includes/class-wc-order.php 540
$value = apply_filters( $this->get_hook_prefix() . $address . '_' . $prop, $value, $this );

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

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