WP_Customize_Themes_Section::json()
Gets section parameters for JS.
Метод класса: WP_Customize_Themes_Section{}
Хуков нет.
Возвращает
Массив
. Exported parameters.
Использование
$WP_Customize_Themes_Section = new WP_Customize_Themes_Section(); $WP_Customize_Themes_Section->json();
Список изменений
С версии 4.9.0 | Введена. |
Код WP_Customize_Themes_Section::json() WP Customize Themes Section::json WP 6.5.2
public function json() { $exported = parent::json(); $exported['action'] = $this->action; $exported['filter_type'] = $this->filter_type; return $exported; }