This function is a helper function which returns the plugin directory for Conductor without a trailing slash (i.e. /var/www/ It can be used in require(), require_once(), include(), and include_once() to load assets (i.e. the Conductor Widget) provided by Conductor.

Technical Details

  • Type: Function
  • Parameters: None
  • Return Value: string



The following example demonstrates how to include the Conductor Options Sidebar template. This particular example is useful if you’re creating a Conductor Admin (Dashboard) page.