adplus-dvertising

Do I need to learn Php Object Oriented (OOP) to Learn WordPress Plugin Development

Asked 1 month ago
Viewed 11 times

**Do I need to learn Php Object Oriented (OOP) to Learn WordPress Plugin Development? Can anyone please about it more **

asked 1 month ago

Correct Answer

Yes, you do. WordPress is based on PHP, and you code plugins in PHP. However, OOP is not something specific to PHP, it is a programming philosophy / approach that is present in many programming languages.

First, learn OOP in Java, and then learn it in PHP (w3schools.com sections on Java and PHP is a great place to start). The interesting thing is that you could probably start coding plugins without OOP, but in the long run that will slow you down, and you will definitely benefit from knowing how OOP works, and that skill is transferrable to other languages as well.

answered 1 month ago