WP_Customize_Themes_Section::json() public WP 4.9.0
Get 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 5.6.2
public function json() {
$exported = parent::json();
$exported['action'] = $this->action;
$exported['filter_type'] = $this->filter_type;
return $exported;
}