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.
Method of the class: WP_Customize_Section{}
No Hooks.
Return
true
. Always true.
Usage
$WP_Customize_Section = new WP_Customize_Section(); $WP_Customize_Section->active_callback();
Changelog
Since 4.1.0 | Introduced. |
WP_Customize_Section::active_callback() WP Customize Section::active callback code WP 6.3
public function active_callback() { return true; }