Default callback used when invoking WP_Customize_Control::active().
Description
Subclasses can override this with their specific logic, or they may provide an ‘active_callback’ argument to the constructor.
Source
public function active_callback() {
return true;
}
Changelog
Version | Description |
---|---|
4.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.