Knowledge Base

Get the most out of your shiny new WordPress site.

How to declare a class in PHP

Since PHP 5 we can use object oriented features in PHP. This allows us to not only use functions and variables, but also write classes and create instances of them in our code. Here’s quick rundown on how to...

Learn More