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