INTRODUCTION TO PLUGIN DEVELOPMENT
Welcome to the Plugin Developer Handbook. Regardless of whether you’re composing your first module or your fiftieth, we trust this asset causes you compose the most ideal module.
The Plugin Developer Handbook covers an assortment of subjects — everything from what ought to be in the module header, to security best practices, to apparatuses you can use to manufacture your module. It’s additionally a work in advance — in the event that you discover something absent or inadequate, it would be ideal if you alter and improve it.
There are three noteworthy parts to WordPress:
This handbook is about Plugins and how they communicate with WordPress. It will enable you to see how they function and how to make your own.
Why We Make Plugins
In the event that there’s one cardinal control in WordPress advancement, it’s this: Don’t contact WordPress center. This implies you don’t alter center WordPress records to add usefulness to your site. This is on account of, when WordPress updates to another adaptation, it overwrites all the center records. Any usefulness you need to include ought to in this way be included through Plugins utilizing endorsed WordPress APIs.
WordPress Plugins can be as straightforward or as entangled as you require them to be, contingent upon what you need to do. The least complex module is a solitary PHP record. The Hello Dolly module is a case of such a module. The module PHP record simply needs a Plugin Header, a few PHP capacities, and a few snares to join your capacities to.
Plugins enable you to enormously expand the usefulness of WordPress without contacting WordPress center itself.