SitePoint
  • Premium
  • Library
  • Community
  • Jobs
  • Blog
LoginStart Free Trial

The home for developers

Track your course progress, manage projects, and find your dream job - all in one place.

Start Your Free Trial

7 Day Free Trial. Cancel Anytime.

SitePoint Premium

  • Access to 700+ courses
  • Publish articles on SitePoint
  • Daily curated jobs
  • Learning Paths
  • Discounts to dev tools
  • Library/
  • Text courses/
  • WordPress Plugin Development Cookbook, Third Edition
WordPress Plugin Development Cookbook, Third Edition

WordPress Plugin Development Cookbook, Third Edition

Learn how to extend WordPress, how to use the WordPress plugin API, and how to mold WordPress to your project's needs.


Course details

0∙0 Ratings0 reviews

Published
March 2022
Publisher
Packt
Chapters
13

About the course

WordPress is one of the most widely used, powerful, and open content management systems (CMSs). Whether you're a site owner trying to find the right extension, a developer who wants to contribute to the community, or a website developer working to fulfill a client's needs, learning how to extend WordPress' capabilities will help you to unleash its full potential. This book will help you become familiar with API functions to create secure plugins with easy-to-use administration interfaces.

This third edition contains new recipes and up-to-date code samples, including new chapters on creating custom blocks for the block editor and integrating data from external sources. From one chapter to the next, you’ll learn how to create plugins of varying complexity, ranging from a few lines of code to complex extensions that provide intricate new capabilities. You'll start by using the basic mechanisms provided in WordPress to create plugins, followed by recipes covering how to design administration panels, enhance the post editor with custom fields, store custom data, and even create custom blocks. You'll safely incorporate dynamic elements into web pages using scripting languages, learn how to integrate data from external sources, and build new widgets that users will be able to add to WordPress sidebars and widget areas.

By the end of this book, you will be able to create WordPress plugins to perform any task you can imagine.

Author

Yannick Lefebvre

Yannick Lefebvre

Yannick Lefebvre is a plugin developer who has published eight projects to the official WordPress repository. His first creation, Link Library, has been used on thousands of sites around the world. With a background in Computer Science and working for CM Labs Simulations a company providing software tools and simulators for vehicle and heavy equipment simulation he started writing plugins for his own WordPress site in 2004 and quickly started sharing his creations with the community. He is actively involved in the Montreal WordPress community, has presented multiple times at WordCamp Montreal, and offers WordPress plugin development services. You can find out more about him and his plugins on his website, Yannick's Corner.

Course Outline

Chapter 1: Preparing a Local Development Environment
Chapter 2: Plugin Framework Basics
Chapter 3: User Settings and Administration Pages
Chapter 4: The Power of Custom Post Types
Chapter 5: Customizing Post and Page Editors
Chapter 6: Extending the Block Editor
Chapter 7: Accepting User Content Submissions
Chapter 8: Customizing User Data
Chapter 9: Leveraging JavaScript, jQuery, and AJAX Scripts
Chapter 10: Adding New Widgets to the WordPress Library
Chapter 11: Fetching, Caching, and Regularly Updating External Site Data
Chapter 12: Enabling Plugin Internationalization
Chapter 13: Distributing Your Plugin on WordPress.org

Reviews

0 total

0
0
0
0
0

Course details

0∙0 Ratings0 reviews

Published
March 2022
Publisher
Packt
Chapters
13

SitePoint

Stuff we do

  • Premium
  • Newsletters
  • Learning paths
  • Library
  • Forums

Contact

  • Contact us
  • FAQ
  • Publish your book
  • Write an article
  • Advertise

About

  • Our Story
  • Corporate Memberships
  • Start free trial
  • Login

Connect

  • RSS
  • Facebook
  • Twitter (X)
  • Instagram

Subscribe to our newsletter

Get the freshest news and resources for developers, designers and digital creators in your inbox each week

© 2000 – 2025 SitePoint Pty. Ltd.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Terms of usePrivacy policy