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