acf_hidden_input()
acf_hidden_input
Renders the HTML of a hidden input.
No Hooks.
Returns
string.
Usage
acf_hidden_input( $attrs );
- $attrs(array)
- The array of attrs.
Default:array()
Changelog
| Since 5.0.0 | Introduced. |
acf_hidden_input() acf hidden input code ACF 6.8.8
function acf_hidden_input( $attrs = array() ) {
echo acf_get_hidden_input( $attrs ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- escaped by input generation function.
}