Drinkos com Blackout Times Plugin
·1 min

Drinkos.com Blackout Times Plugin
Project Wrap-Up Summary | |
---|---|
Project Summary | An object-oriented WordPress plugin based on the WordPress Plugin Boilerplate. This plugin simply deactivates the Add to Cart buttons/functionality, and the ability to checkout when the current time does not fall between the given times. |
URL | drinkos.com |
Related Projects | |
Technologies used | PHP, Wordpress API, WooCommerce |
What I learned | Had to go through a few iterations to fully deal with the complexity of PHP time variables. (ie. for situations when the opening time falls in the PM, and closing time falls in the early AM of the next day.) I also became quite comfortable with Boilerplate’s OO method for writing a plugin. |
Inspirations | |
Especially proud of | Sticking with the same basic design even as it has undergone quite a few iterations. |