VIPs and other themes can declare the permastruct, tag and category bases in their themes.
Return the directory path for a given VIP theme
Return a URL for given VIP theme and path.
Filter plugins_url() so that it works for plugins inside the shared VIP plugins directory or a theme directory.
Returns the non-CDN’d URI to the specified path.
Returns the non-CDN URI to the VIP themes dir.
Returns the raw path to the VIP themes dir.
Get the names of VIP plugins that have been loaded
Store the name of a VIP plugin that will be loaded
Loads the WordPress.com-only VIP helper file for stats which defines some helpful stats-related functions.
Loads the WordPress.com-only VIP helper file which defines some helpful functions.
Loads the shared VIP helper file which defines some helpful functions.
Require a library in the VIP shared code library.
Helper function for wpcom_vip_load_plugin(); sanitizes plugin folder name.
Loads a plugin out of our shared plugins directory.
If you don’t want people (de)activating plugins via this UI and only want to enable plugins via wpcom_vip_load_plugin() calls in your theme’s functions.php file, then call this function to disable this plugin’s (de)activation links.