WP Plugin Development - Build your own plugin!
3.9 (175 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
32,484 students enrolled

WP Plugin Development - Build your own plugin!

Learn to create your own WordPress Plugin - Step by Step
3.9 (175 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
32,484 students enrolled
Last updated 3/2018
English [Auto]
Current price: $119.99 Original price: $199.99 Discount: 40% off
17 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 4 hours on-demand video
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • It's often the case that you're looking for a specific functionality in already existing plugins, but the one you're looking for is not captured by any of these. In this course you will learn how to create your own plugin to feed your needs or even those of your customers.
  • You will know about the basics of WP "behind the scenes"
  • Understanding Actions / Filters
  • Important knowledge about naming and possible conflicts
  • Enqueue concept for CSS and scripts
  • How to store data in a custom table
  • Security: How to check user capabilities, escaping and nonces
  • Localization: How to build your plugin multilingual
  • Cronjobs in Wordpress
Course content
Expand all 24 lectures 03:57:02
+ Introduction
4 lectures 24:13

The very basics about what is WP and what are plugins. 

Preview 03:11

Learn how to setup the environment which we are going to use in our development. Of course you can also use any other application for development you prefer.

Preview 05:43

In this section we configure the database and install Wordpress core

Install WP and the database

What are hooks and how to use them?

Actions and Filters
+ Plugin Basics
7 lectures 01:31:18

Now let's finally start with the first plugin!

Preview 23:18

Let's add some admin menu which can be use for an settings page afterwords.

Add an admin menu

In our previously added menu page we are going to add some settings.

Settings page

Store some settings into the WP options table

Using the Options API

There are some things you need to know about including your custom CSS and JS files in Wordpress. I will show you with an example how to do that.

Enqueue your custom CSS / JS

Some words about files and naming

Files and Naming

Object oriented programming is really nice also in Wordpress plugins. I will give you an example of how to implement OOP in Wordpress.

Object oriented programming
+ Advanced concepts
4 lectures 01:12:58

Learn to connect to an external webpage or API and cache data using transients

Preview 24:48

Improve user experience using AJAX

AJAX in Wordpress plugins

Store your custom data into a separated database table

Create a custom database table

An example will show you how to store your data

Write data into your custom table
+ Security aspects
5 lectures 20:27

Avoid including your plugin files from external applications

Preview 03:47

Is the current user allowed to perform this task? Check the current user's permissions and capabilities

Checking permissions

Before you store data, input fields should be validated and filtered

Validate inputs

Avoid XSS by escaping sequences

Validate outputs

Was the current user really willing to delete a post? Avoid actions which could be clicked accidentally

+ Translate your plugin
4 lectures 28:06

All you need to know about the functions to translate a string in WP

Functions and Files

POT files are used by your users to create a translation. I'll show you how to create this file using a PHP script.

Create POT File

The translation of your strings

Translate your plugin strings

Activate the translation files inside your plugin

Activate your translation
  • basic knowledge in Wordpress, PHP, HTML
  • suggested basic knowledge in CSS, JS and SQL

WordPress is one of the most used CMS in the World!

That brings up a lot of opportunities if you are a WordPress Developer :)

In this course you are learning step by step how to create an awesome WordPress Plugin from scratch!
For your own needs or to sell it as a SaaS Business.

In the SaaS Business perspective WordPress offers you a HUGE amount of users (rapidly growing) which can be your potential customers. That means small business - big money!

So if you want the learn to create a fast & reliable Product for WordPress, which also meets the security standards today, then this course ist the right one for you!

Who this course is for:
  • This course is created for anybody who wants to extend or change functionality within the WP core using an own self-made plugin.