The starter kit for the Data Store hands-on coding lab series on Know the Code.
A data store provides you with a centralized, globally available, and persistent way to store values (data and state) and configuration parameters.
In this lab series and plugin, you'll build the data store in 3 different ways:
- Procedural - all function based
- Static Class - procedural wrapped inside of a class and using static methods and properties
- OOP - as an object
- Fork this repo to your personal GitHub account.
- On your computer, open up your favorite command line (terminal) app.
- Navigate to the
/wp-content/plugins
folder of your project. - In your GitHub repo:
- Click on the green "Clone or download" button.
- Click on the "Use HTTPS".
- Click on the copy icon to copy the URL into your clipboard.
- Clone your GitHub plugin repository by copying/pasting this line of code onto the command line:
git clone
and then paste the link you copied in the previous step.