Unlimited WordPress themes, graphics, videos & courses! Unlimited asset downloads! From $16.50/m
Crs 91286
  • Overview
  • Transcript

3.1 Creating an Object-Oriented Plugin

Object orientation helps organize and encapsulate code, which can help with a lot of problems that arise when building plugins with globally scoped functions. A lot of the things we want to do with our code—modular reusability, unit testing, and more—can start with building plugins using objects. We’ll build a content object class so we can easily create our Quote content type.