WP Cloud Plugins
PluginsPlayground ↗⏵ Open Ticket
  • Getting Started
    • System Requirements
    • Installation
    • Connect a Cloud Account
    • Add your First Module
    • How to Update?
  • Licensing
    • Activate License
    • Deactivate/Move license
    • Local/Staging sites
    • License FAQ
  • Global Options
    • Layout
    • Personal Folders
    • Review & Approve
    • Integrations
    • Notifications
    • Permissions
    • Usage Limits
    • Security
    • Advanced
    • Statistics
    • Tools
  • Modules
    • Module Manager
    • Module Configurator
      • Content
      • Accessibility
      • Dynamic Folders
      • Actions
      • Review & Approve
      • Layout
      • Sort Order
      • Filters
      • Upload Settings
      • Usage Limits
      • Notifications
    • Modules
      • Audio player
      • Button
      • Embed
      • File Browser
      • Gallery
      • List
      • Review & Approve
      • Search Box
      • Slider / Carousel
      • Upload Box
      • Video player
  • Features
    • Dynamic Folders
      • Automatic mode
      • Manual mode
    • Personal Folders
      • FAQs
    • Embed documents
    • Import to Media Library
    • Video Advertisements
    • Statistics
    • Webhooks
  • Integrations
    • Advanced Custom Fields (ACF)
    • Form Plugins
      • Contact Form 7
      • Fluent Forms
      • Formidable Forms
      • Gravity Forms
      • GravityPDF
      • NinjaForms
      • WPForms
    • Page Builders
      • Beaver Builder
      • Classic Editor
      • Divi Page Builder
      • Gutenberg
      • Elementor
    • Slack
    • Uncanny Automator
    • WooCommerce
      • Digital Downloads
      • Order Uploads
    • Easy Digital Downloads (EDD)
  • Developers
    • Actions
    • API
      • copy()
      • copy_folder_recursive()
      • create_folder()
      • create_edit_url()
      • create_preview_url()
      • create_shared_url()
      • create_temporarily_download_url()
      • delete()
      • download()
      • get_entry()
      • get_folder()
      • move()
      • patch()
      • rename()
      • set_account_by_id()
      • set_drive_by_id()
      • upload_file()
    • Filters
    • Placeholders
  • Other
    • FAQs
    • Translations
    • Vulnerabilities
    • Support
      • Scope
      • Open a Support Ticket
    • About Us
    • Changelog
Powered by GitBook
On this page
  • Slugs
  • Available actions
  • {slug}_before_module()
  • {slug}_after_module()
  1. Developers

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...

PreviousEasy Digital Downloads (EDD)NextAPI

Last updated 6 months ago