woocommerce_checkout_get_value хук-фильтр . WC 1.0
Allow 3rd parties to short circuit the logic and return their own default value.
Использование
add_filter( 'woocommerce_checkout_get_value', 'filter_function_name_5505', 10, 2 ); function filter_function_name_5505( $null, $input ){ // filter... return $null; }
- $null
- -
- $input
- -
Где вызывается хук
woocommerce_checkout_get_value
woocommerce/includes/class-wc-checkout.php 1211
$value = apply_filters( 'woocommerce_checkout_get_value', null, $input );