Function getPlugin
Returns the fully qualified file name of the plugin file.
Note: order of selection is: 1-theme folder file (if $inTheme is set) 2-user plugin folder file 3-zp-extensions file first file found is used
string |
$plugin |
is the name of the plugin file, typically something.php |
boolean |
$inTheme = false |
<p>tells where to find the plugin. true means look in the current theme false means look in the zp-core/plugins folder.</p> |
boolean |
$webpath = false |
return a WEBPATH rather than a SERVERPATH |
string
|
string |