Yoast_Input_Select::get_select_values
Return the set fields for the select.
Метод класса: Yoast_Input_Select{}
Хуков нет.
Возвращает
Массив.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_select_values();
Код Yoast_Input_Select::get_select_values() Yoast Input Select::get select values Yoast 26.3
private function get_select_values() {
return [
'id' => $this->select_id,
'name' => $this->select_name,
'attributes' => $this->get_attributes(),
'options' => $this->select_options,
'selected' => $this->selected_option,
];
}