Uses
| Uses | Description |
|---|---|
| wp-includes/formatting.php: esc_attr() | Escaping for HTML attributes. |
Render the custom attributes for the control’s input element.
File: wp-includes/class-wp-customize-control.php
public function input_attrs() {
foreach ( $this->input_attrs as $attr => $value ) {
echo $attr . '="' . esc_attr( $value ) . '" ';
}
} | Version | Description |
|---|---|
| 4.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_control/input_attrs