Plugin Development

ClipBucket was inspired by Wordpress For the Development however its not as efficient as Wordpress, we will try to get things done vial available options

Good news is Vodlix & ClipBucket share the same Core for the Plugins

Folder Strucuture

- plugins
  |-plugin_folder
    |- plugin_name.php
    |- plugin_name_install.php //Call when plugin is about to install
    |- plugin_name_uninstall.php //Caled when plugin is about to uninstall

//Example

- plugins
  |-global_announcement
    |-global_announcement.php

Plugin Meta

Just like wordpress, you have mention the plugin detail at the top in comments just as shown below

Plugin Installation Script

This is pure PHP Script, nothing fancy, we usually just call DB Queries in it. e.g

Plugin Uninstall Script

Resource from ClipBucket

Global Announcement Tutorial

Understanding Plugin Development

Last updated