WP_Customize_Panel::active_callback()
Default callback used when invoking WP_Customize_Panel::active().
Description Description
Subclasses can override this with their specific logic, or they may provide an ‘active_callback’ argument to the constructor.
Return Return
(bool) Always true.
Source Source
File: wp-includes/class-wp-customize-panel.php
public function active_callback() { return true; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.1.0 | Introduced. |