WP_Customize_Control::input_attrs() public WP 4.0.0
Render the custom attributes for the control's input element.
{} It's a method of the class: WP_Customize_Control{}
No Hooks.
Return
Null. Nothing.
Usage
$WP_Customize_Control = new WP_Customize_Control(); $WP_Customize_Control->input_attrs();
Changelog
Since 4.0.0 | Introduced. |
Code of WP_Customize_Control::input_attrs() WP Customize Control::input attrs WP 5.6
public function input_attrs() {
foreach ( $this->input_attrs as $attr => $value ) {
echo $attr . '="' . esc_attr( $value ) . '" ';
}
}