WP_Customize_Control::input_attrs()
Render the custom attributes for the control's input element.
Method of the class: WP_Customize_Control{}
No Hooks.
Return
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.4.3
public function input_attrs() { foreach ( $this->input_attrs as $attr => $value ) { echo $attr . '="' . esc_attr( $value ) . '" '; } }