WP_Customize_Section::active_callback()
Default callback used when invoking WP_Customize_Section::active().
Subclasses can override this with their specific logic, or they may provide an 'active_callback' argument to the constructor.
Метод класса: WP_Customize_Section{}
Хуков нет.
Возвращает
true
. Always true.
Использование
$WP_Customize_Section = new WP_Customize_Section(); $WP_Customize_Section->active_callback();
Список изменений
С версии 4.1.0 | Введена. |
Код WP_Customize_Section::active_callback() WP Customize Section::active callback WP 6.6.2
public function active_callback() { return true; }