WordPress at Your Fingertips
function is not described

woocommerce_wp_hidden_input() WC 1.0

Output a hidden input box.

No Hooks.

Return

null. Nothing.

Usage

woocommerce_wp_hidden_input( $field );
$field(array) (required)
-

Code of woocommerce_wp_hidden_input() WC 5.8.0

function woocommerce_wp_hidden_input( $field ) {
	global $thepostid, $post;

	$thepostid      = empty( $thepostid ) ? $post->ID : $thepostid;
	$field['value'] = isset( $field['value'] ) ? $field['value'] : get_post_meta( $thepostid, $field['id'], true );
	$field['class'] = isset( $field['class'] ) ? $field['class'] : '';

	echo '<input type="hidden" class="' . esc_attr( $field['class'] ) . '" name="' . esc_attr( $field['id'] ) . '" id="' . esc_attr( $field['id'] ) . '" value="' . esc_attr( $field['value'] ) . '" /> ';
}