wpcom_vip_load_plugin

Loads a plugin out of our shared plugins directory.

Parameters

Name Type Description
$plugin string Optional. Plugin folder name (and filename) of the plugin
$folder string Optional. Folder to include from; defaults to "plugins". Useful for when you have multiple themes and your own shared plugins folder.

Return Value

bool: True if the include was successful

Ready to get started?

Tell us about your needs

Let us lead the way. We’ll help you select a top tier development partner. We’ll train your developers, operations, infrastructure, and editorial teams. We’ll coarchitect your deployment processes. We will provide live support for peak events. We’ll help your people avoid dark alleys and blind corners, and reduce wasted cycles.