WP_Customize_Control::input_attrs()
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 Customize Control::input attrs WP 6.7.2
public function input_attrs() { foreach ( $this->input_attrs as $attr => $value ) { echo $attr . '="' . esc_attr( $value ) . '" '; } }