apply_filters( 'tribe_events_show_upgrade_tab', bool $can_show_tab )
Provides an opportunity to override the decision to show or hide the upgrade tab.
Contents
Normally it will only show if the current user has the "activate_plugins" capability and there are some currently-activated premium plugins.
Parameters
- $can_show_tab
-
(bool) True or False for showing the Upgrade Tab.
Source
Changelog
Version | Description |
---|---|
6.0.0 | This filter now controls only the capability to show the Upgrade tab. |
4.9.12 | Introduced. |