Join Carrie Dils for an in-depth discussion in this video What is WordPress?, part of Advanced WordPress: Action and Filter Hooks.
- [Instructor] WordPress is open source software, primarily built on PHP and MySQL. It's a fully featured content management system. As of the time of this recording, W3Techs estimates that WordPress powers over 28% of websites, that's a huge number, so it's no wonder that increasing numbers of developers want to understand how to work with WordPress. So WordPress comes in two basic flavors, we've got the self hosted and the hosted version. The hosted version is called wordpress.com, and caters to bloggers and businesses who want to get a site online quickly, and don't need custom development, or access to the code base.
The self hosted version is available for free download at wordpress.org, and offers complete control over the design, database, and code. As self hosted would imply, this does require that you use a web host of some variety. For this course, I'm going to be using a locally installed version of WordPress, which means that I'm running both PHP and MySQL locally. Once WordPress is installed and running, there are two primary ways to think about how developers can interact with it. The first is themes, at its most basic, themes are the visual layer that sit on top of WordPress.
They control the way we display data and give users varying degree of control over some customization aspects. There's full documentation on the wordpress.org website for creating and working with themes. So that's one way. The other most common way to interact with WordPress is via plugins. Whereas themes let us control the design and user interface of a WordPress site, plugins let us layer in additional functionality to WordPress core without editing core code. It's this capability that makes WordPress almost endlessly extensible.
WordPress provides some pretty user friendly documentation for how to create and work with plugins. As we go in, we'll dig into various aspects of the plugin handbook here, as well as some resources and show how to put this knowledge into action.
- Actions and filters explained
- Identifying available hooks and filters
- Looking at load order
- Understanding callback functions
- Creating custom hooks
- Using third-party hooks
- Building a new WordPress plugin with filters and actions