WP_Customize_Control::input_attrs()

Render the custom attributes for the control’s input element.


Source

File: wp-includes/class-wp-customize-control.php

	public function input_attrs() {
		foreach ( $this->input_attrs as $attr => $value ) {
			echo $attr . '="' . esc_attr( $value ) . '" ';
		}
	}


Changelog

Changelog
Version Description
WP-4.0.0 Introduced.