> For the complete documentation index, see [llms.txt](https://devguide.e107.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devguide.e107.org/classes-and-methods/plugins.md).

# Plugins

{% hint style="danger" %}
**Please note:** This page is under construction and has not been finished yet.
{% endhint %}

## Introduction

```php
$plg = e107::getPlug();
```

## Plugin methods

### load()

Load specified plugin data, can be used in conjunction with other methods.&#x20;

```php
$plg->load($plugdir)
```

| Parameter     | Type   | Description                                                                                                  | Mandatory? |
| ------------- | ------ | ------------------------------------------------------------------------------------------------------------ | ---------- |
| **plugindir** | string | <p>Plugin name. </p><p></p><p>Could also be <a href="/pages/-MVY9rLdcoMSgliaw5Cz">e\_CURRENT\_PLUGIN</a></p> | **Yes**    |

###
