acf_get_hidden_input()ACF 5.0.0

acf_get_hidden_input

Returns the HTML of a hidden input.

No Hooks.

Returns

String.

Usage

acf_get_hidden_input( $attrs );
$attrs(array)
The array of attrs.
Default: array()

Changelog

Since 5.0.0 Introduced.

acf_get_hidden_input() code ACF 6.0.4

function acf_get_hidden_input( $attrs = array() ) {
	return sprintf( '<input type="hidden" %s/>', acf_esc_attrs( $attrs ) );
}