> For the complete documentation index, see [llms.txt](https://wpcloudplugins.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wpcloudplugins.gitbook.io/docs/developers/actions.md).

# Actions

Our WP Cloud Plugins offer several WordPress Actions that allow developers to execute custom code at specific points during the plugin's lifecycle. These actions provide an opportunity to interact with the plugin, trigger additional functionality, or modify behavior without altering the core code. By hooking into these actions, you can easily extend the plugin's capabilities to suit your needs.

## Slugs

The plugin provides several WordPress actions to hook into its functionality. These actions use a `{slug}` placeholder, which you should replace with the slug corresponding to your plugin variant:

* `shareonedrive` for Share-One-Drive **(OneDrive & SharePoint)**
* `useyourdrive` for **Use-your-Drive (Google Drive)**
* `outofthebox` for **Out-of-the-Box (Dropbox)**
* `letsbox` for **Lets-Box (Box)**

For example, the action  `{slug}_after_module` for when a module is rendered would be `useyourdrive_after_module` for **Use-your-Drive.**

## Available actions

### &#x20; <mark style="background-color:orange;">**{slug}\_before\_module()**</mark> &#x20;

Fires before a module module has been rendered.

### &#x20; <mark style="background-color:orange;">**{slug}\_after\_module()**</mark> &#x20;

Fires after a module module has been rendered.

{% hint style="info" %}
This information is still being completed...
{% endhint %}
