Available under the “VIP” menu item in your administration area there is now Plugins. The Plugins Page lists all of the approved plugins that are available for you to use, as well as what plugins are already in use by your theme.
A few notes: this feature requires that your theme is using our wpcom_vip_load_plugin() helper function to load the approved plugins; it will not display or highlight plugins loaded directly using include() or require() in your theme; and this list will also not include any plugins that are within the theme (custom plugins).
Hi Alex,
Thanks for the plugin!
I just looked but didn’t see any info on wpcom_vip_load_plugin(). The page on plugin reviews (https://lobby.vip.wordpress.com/getting-started/plugin-review-process/) shows the old require method of including plugins, but I’d love to have access to the features outlined here, so I’d be much obliged if you could point me in the right direction to find out more about the wpcom_vip_load_plugin() function.
Good points. Regarding plugin-review-process, I think we’ll leave that for now, and continue to update the includes as part of the review process. It’s important to appreciate that there is no magic here, only a little bit of beautification 😉
ackis your friend.$ ack --php 'function wpcom_vip_load_plugin'
vip-do-not-include-on-wpcom/vip-local-development-helper/vip-local-development-helper.php
26:function wpcom_vip_load_plugin( $plugin = false, $folder = 'plugins' ) {
Also on each plugin’s page is a description how to load that plugin. For example to load Watermark Image Uploads, you would use
wpcom_vip_load_plugin( 'watermark-image-uploads' );which willinclude()it and tell the menu that you’re using the plugin.