WP_Customize_Control::input_attrs()publicWP 4.0.0

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

Метод класса: WP_Customize_Control{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$WP_Customize_Control = new WP_Customize_Control();
$WP_Customize_Control->input_attrs();

Список изменений

С версии 4.0.0 Введена.

Код WP_Customize_Control::input_attrs() WP 6.5.2

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