WP_Customize_Section::active_callback() public WP 4.1.0
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 5.6
public function active_callback() {
return true;
}