Skip to content
KnowledgeCity

WordPress Advanced: Creating New Plugins

Learn how to use PHP to create a custom WordPress plugin
Preview the first lesson free — get full access to all 7 lessons.
Course: On-Demand
Advanced Provider Chrissy Rey  7 Lessons ·  1h  in Arabic, English 

Course Description

WordPress developers can use plugins to extend the baseline functionality of WordPress. Plugins can handle many functions, such as creating forms, adding drag-and-drop page-building capabilities, and optimizing a website’s performance. While thousands of plugins already exist, you might need to create a custom plugin to handle the functionality required by your website. Knowing how to create a custom plugin is an important skill for any WordPress developer. So how can you do this?

In this course, you will learn how to use PHP to create a custom WordPress plugin. We will explore the files needed to create a plugin, learn about hooks, and discuss the basics of plugin security. We will also add an administration menu, create a plugin settings page, discuss roles and capabilities, and learn how to add a shortcode. By the end of this course, you will be able to create a custom WordPress plugin.

What You'll Learn

  • Identify the basic functions of a WordPress plugin and the files needed to create one
  • Use PHP code to create a custom plugin that extends WordPress functionality
  • Apply the basics of plugin security to secure a plugin
  • Add an administration menu and create a plugin settings page
  • Configure roles and capabilities and work with actions and filters (hooks)
  • Add a shortcode to a custom plugin

Key Takeaways

  • WordPress developers use plugins to extend the baseline functionality of WordPress, handling functions such as creating forms, adding drag-and-drop page-building, and optimizing website performance.
  • Although thousands of plugins already exist, creating a custom plugin may be necessary to handle functionality specific to a website.
  • Knowing how to create a custom plugin is an important skill for any WordPress developer.
  • The course covers the files needed to create a plugin, hooks, plugin security, administration menus, settings pages, roles and capabilities, and shortcodes.
  • By the end of the course, learners will be able to create a custom WordPress plugin.

Frequently Asked Questions

Who is this course for?

It is for WordPress developers who want to create custom plugins to extend WordPress functionality using PHP.

What will I be able to do by the end of the course?

By the end of the course, you will be able to create a custom WordPress plugin.

What topics does the course cover?

It covers the anatomy of a plugin and the files needed to create one, hooks (actions and filters), plugin security, administration menus, plugin settings, roles and capabilities, and shortcodes.

What skills are associated with this course?

The course relates to PHP Development, PHP Editor, PHPEdit, WordPress Admin, WordPress, and the WordPress REST API.

Does the course address plugin security?

Yes. It discusses the basics of plugin security and emphasizes the importance of securing a plugin.