This repository is the starting code for the PHP OOP and WordPress Hooks Basics lab on Know the Code.
This plugin is just code for a lab. It's not for production or use.
- In terminal, navigate to
{path to your sandbox project}/wp-content/plugins
. - Then type in terminal:
git clone git@github.com:KnowTheCode/PHP-OOP-WordPress-Hooks-Basics.git
. - Change the plugin's name to
sandbox
orsandbox-oop
. - Log into your WordPress website.
- Go to Plugins and activate the plugin.