Learning PHP for WordPress Development: Understanding PHP’s return

Welcome to this rundown on return in PHP! This article continues our series explaining the basics of PHP for WordPress development. Our discussion of PHP’s return builds on two topics we’ve covered in earlier articles: PHP functions. Functions are where return is useful, so you’ll want to understand the basics of what PHP functions are […]

Read More

The Four Languages You Must Know to Understand WordPress

Learning WordPress development starts with a lot of key questions, including this one: “What language is WordPress written in?” Another common one is “Should I learn PHP or JavaScript first?” WordPress programming languages is a big topic, but we’ll cover all you need to get started. The answer to “What coding language does WordPress use?” […]

Read More

Learning PHP for WordPress Development: Understanding PHP’s echo

Welcome to this rundown on echo in PHP! This article is part of our series explaining the fundamentals of PHP for WordPress development, so that you can start learning the language of WordPress “under the hood” and unlock the powers of a full-fledged WordPress developer. To understand PHP’s echo, it’s helpful to have two core concepts […]

Read More

Learning PHP for WordPress Development: Introduction to PHP Functions

This article is an accessible dive into one of the bedrock concepts of modern programming: functions. We’re writing our guide to PHP for WordPress developers, and it’s exciting times! PHP knowledge truly is the key to the kingdom for a WordPress developer, and it feels really good to be teaching the subject using our own […]

Read More

How to Use WordPress Conditional Tags

One of the most straightforward, dependable, and useful things in WordPress is what the Codex calls “Conditional Tags.” In her interview for Up and Running, Helen Hou-Sandí said WordPress conditional tags were her favorite WordPress functions for their simplicity and ease of use — they read just like English. We agree with her on that. […]

Read More

Is WordPress Object-Oriented? A Thorough Exploration

Here at WPShout, we’ve got some thorough tutorials on using object-orientation as a WordPress developer. We’ve hopefully convincingly explained that it’s pretty common and easy for a developer to write something when programming WordPress that is OO. Many many plugins you see are is essentially object-oriented WordPress plugins. What I want to explore today is […]

Read More

Object-Oriented PHP for WordPress Developers

Welcome to our free course on object-oriented PHP (OOPHP) for WordPress. This course explains the following: The object-oriented paradigm in software development, and its strengths and weaknesses relative to other paradigms, The core concepts of object-oriented programming in PHP with code examples, A few advanced topics in OOPHP that are especially useful in WordPress development, […]

Read More

PHP for Beginners: Starting on Backend WordPress Development

WordPress, the content management system the internet loves. You can use it for years without needing to tackle PHP, but eventually you’re finding yourself needing it. You go to Bing and search “php for beginners” and you find yourself here. Learning PHP for WordPress development is a long journey, but let’s start! We’ll kick off […]

Read More

Where and How to Use WordPress Hooks in Objects

You’ve maybe noted that we’ve recently been writing about WordPress and object-oriented programming in PHP a lot. Just last week, Fred published an article about PHP magic methods, especially __construct, and how they work. This week I want to tackle a very common and oft-debated question about WordPress and OOP: when I use WordPress hooks, […]

Read More

Object-Oriented PHP: The __construct() Magic Method

In this article, we tackle an intermediate topic in object-oriented PHP: magic methods, specifically __construct(). Our goal in this article is to explain __construct() itself: of all the magic methods in OO PHP, it’s by far the most important, certainly in a WordPress context. To explain _construct(), though, we first need to explain what magic methods themselves […]

Read More

Categories