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

{slug}_before_module()

Fires before a module module has been rendered.

{slug}_after_module()

Fires after a module module has been rendered.

This information is still being completed...

Last updated