wpcom_vip_plugins_url

Filter plugins_url() so that it works for plugins inside the shared VIP plugins directory or a theme directory.

Props to the GigaOm dev team for coming up with this method.

Parameters

Name Type Description
$url string Optional. Absolute URL to the plugins directory.
$path string Optional. Path relative to the plugins URL.
$plugin string Optional. The plugin file that you want the URL to be relative to.

Return Value

string

Ready to get started?

Drop us a note.

No matter where you are in the planning process, we’re happy to help, and we’re actual humans here on the other side of the form. 👋 We’re here to discuss your challenges and plans, evaluate your existing resources or a potential partner, or even make some initial recommendations. And, of course, we’re here to help any time you’re in the market for some robust WordPress awesomeness.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.