namespaces-and-autoloading-in-wordpress
namespaces-and-autoloading-in-wordpress copied to clipboard
[WordPress] A simple example of namespaces an autoloading used to demonstrate the concepts in a presentation at WordCamp Atlanta 2017.
Namespaces and Autoloading in WordPress
This plugin is a companion plugin to a talk given at WordCamp Atlanta 2017. It's explained in further detail in this article and this slide deck.
About This Plugin
Once you install the plugin and click activate, you should see two notices appear at the top of your administration screen.
There's no other functionality than this as its meant purely for the purposes of how to use namespaces and autoloading.
How It Works
- Upon activation, the plugin will display a message at the top of your administration screen.
- The messages that you should indicate the autoloader was successful in locating and loading the files.
Installation
Using The WordPress Dashboard
- Navigate to the 'Add New' Plugin Dashboard
- Select
namespaces-and-autoloading-in-wordpress.zip
from your computer - Upload
- Activate the plugin on the WordPress Plugin Dashboard
Using FTP
- Extract
namespaces-and-autoloading-in-wordpress.zip
to your computer - Upload the
namespaces-and-autoloading-in-wordpress.zip
directory to yourwp-content/plugins
directory - Activate the plugin on the WordPress Plugins Dashboard
Changes
For information about changes related to the project, be sure to review the CHANGELOG.
More Information
The complete article for this plugin can be read on my blog.