php - Should every code for the Wordpress plgins be included in the functions and hooked with the Wordpress?
I just started the Plugin development for the Wordpress, but finding it little difficult to understand. Looks like everything should be hooked with the wordpess to get it run and moreover are there all the global variables that i need to use.
I am making a video plugin and designed some of the forms and display page, but didn't went through the templates, is it compulsory to follow the template structure or we can design our on layout.
I am pretty much confused about all this. Can someone explain a little.