WP_Customize_Control::input_attrs()

In this article

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

Source

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

Changelog

VersionDescription
4.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.