woocommerce_checkout_get_value

woocommerce_checkout_get_value

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_checkout_get_value') is found 1 times:

  • /includes/class-wc-checkout.php line 1331
    			return wc_clean( wp_unslash( $_POST[ $input ] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Missing
    		}
    
    		// Allow 3rd parties to short circuit the logic and return their own default value.
    		$value = apply_filters( 'woocommerce_checkout_get_value', null, $input );
    
    		if ( ! is_null( $value ) ) {
    			return $value;
    		}
    
    		/**