src/tools/MbPath.php
public static function pDir($complement = "")
    {
        if (is_null(self::$pluginDirectory)) {
            self::$pluginDirectory = WP_PLUGIN_DIR . "/" . self::pName();
        }

        return self::$pluginDirectory . $complement;
    }
public static function pDir($complement = "")
    {
        if (is_null(self::$pluginDirectory)) {
            self::$pluginDirectory = WP_PLUGIN_DIR . "/" . self::pName();
        }

        return self::$pluginDirectory . $complement;
    }
public static function pDir ( $ complement = "" ) { if ( is_null ( self :: $ pluginDirectory ) ) { self :: $ pluginDirectory = WP_PLUGIN_DIR . "/" . self :: pName ( ) ; } return self :: $ pluginDirectory . $ complement ; }
Get plugin directory

@param string $complement

@return string
Get plugin directory