Getting Started

 

After you download your generated code, get oriented by looking at the Files Overview.  You do most of your coding in the XXX_Plugin.php class file.

You may need certain operations to happen during install/uninstall (including making database tables), during activation/deactivation, and during upgrades.

You probably want to add your own actions and filters including en-queuing Javascript & CSS Files

Maybe add short codes

You may need to add some AJAX handlers

Your plugin may need to have options including an options administration page.

You will want to understand how to enforce role security.

You may need to add administration pages.

As a good plugin writer, you will want your plugin to support internationalization.

Once you have your plugin created, you may want to share it. To do this, register your code on WP.org.

You will later want to release and upgrade your plugin.

 

  4 Responses to “Getting Started”

  1. […] menu Skip to primary content Skip to secondary content HomeDesign TenetsGetting StartedDownload Template Plugin CodeFiles OverviewInstall/Uninstall ActionsCreating Database Tables During […]

  2. I get a security error when trying to access most of the pages, such as “install/uninstall”, etc. Is there something I need to do to access all the documentation?

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>