Default callback used when invoking WP_Customize_Control::active().
Subclasses can override this with their specific logic, or they may provide an ‘active_callback’ argument to the constructor.
public function active_callback() {
return true;
}
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_control/active_callback