Activates a plugin.
Deactivates a plugin.
Generates a link to the plugin’s menu page.
Removes any invalid plugins from the option, i.e.
Generates the URL to activate a VIP plugin.
Generates the URL to deactivate a VIP plugin.
Determines if a given plugin slug is already activated or not.
Filters an array of action links to add an activation or deactivation link.
Validates a plugin slug.
Gets the list of VIP plugins that have been activated via the UI.
Includes any active plugin files that are enabled via the UI/option.
Adds the new menu item and registers a few more hook callbacks relating to the menu page.
Load the assets for this plugin on the correct screen only
Handles the plugin activation links and activates the requested plugin.
Handles the plugin deactivation links and deactivates the requested plugin.
Outputs the contents of the menu page.
Filters the columns of the Community Plugins table.
Are we on WordPress.com VIP or somewhere else?
Main WPcom_VIP_Plugins_UI Instance
A dummy constructor to prevent WPcom_VIP_Plugins_UI from being loaded more than once.
A dummy magic method to prevent WPcom_VIP_Plugins_UI from being cloned
A dummy magic method to prevent WPcom_VIP_Plugins_UI from being unserialized
Set up the class variables.
Set up early action hooks for this plugin
Now that we’ve given the theme time to register its own filters, set up the rest of the plugin’s hooks and run some filters.
The main function responsible for returning the one true WPcom_VIP_Plugins_UI instance to functions everywhere.