WP_Customize_Control::input_attrs
Renders the custom attributes for the control's input element.
Method of the class: WP_Customize_Control{}
No Hooks.
Returns
null. Nothing (null).
Usage
$WP_Customize_Control = new WP_Customize_Control(); $WP_Customize_Control->input_attrs();
Changelog
| Since 4.0.0 | Introduced. |
WP_Customize_Control::input_attrs() WP Customize Control::input attrs code WP 6.9.1
public function input_attrs() {
foreach ( $this->input_attrs as $attr => $value ) {
echo $attr . '="' . esc_attr( $value ) . '" ';
}
}