woocommerce_checkout_get_value filter-hookWC 1.0

Allow 3rd parties to short circuit the logic and return their own default 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

WC_Checkout::get_value()
woocommerce_checkout_get_value
woocommerce/includes/class-wc-checkout.php 1246
$value = apply_filters( 'woocommerce_checkout_get_value', null, $input );

Where the hook is used in WooCommerce

Usage not found.