woocommerce_checkout_get_value
Usage
add_filter( 'woocommerce_checkout_get_value', 'wp_kama_woocommerce_checkout_get_value_filter', 10, 2 );
/**
* Function for `woocommerce_checkout_get_value` filter-hook.
*
* @param $null
* @param $input
*
* @return
*/
function wp_kama_woocommerce_checkout_get_value_filter( $null, $input ){
// filter...
return $null;
}
- $null
- -
- $input
- -
Where the hook is called
woocommerce_checkout_get_value
woocommerce/includes/class-wc-checkout.php 1412
$value = apply_filters( 'woocommerce_checkout_get_value', null, $input );