I am new to plugin development. So please correct me, wherever I get it wrong.
I have a website which needs a players plugin with the following needs:-
I often download plugins to look at the code hoping I’ll learn something from the developers methods and coding style. Often I find myself frustrated reading through poorly written plugins. It’s not that they’re bad developers, they just haven’t focused enough on alternative coding styles and refining how they go about programming their plugins. Here’s a quick step-by-step on how I write my WordPress Plugins hoping to influence other developers.
Steps on how to getting started with plugin developement
Step 1 – Create your file and let it be known as a plugin
Step 2 – Create the objects of your plugin
Step 3 – Adding your actions and filters
Step 4 – Adding settings/options to your plugin
Finish up your code
Reference: Writing a WordPress Plugin Using Classes