Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 2.62 KB

File metadata and controls

29 lines (17 loc) · 2.62 KB

WordPress Plugin Development Cookbook - Second Edition

This is the code repository for WordPress Plugin Development Cookbook - Second Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

WordPress is a popular, powerful and open Content Management System. Learning to extend its capabilities allows you to unleash its full potential, whether you're an administrator trying to find the right extension, a developer with a great idea to enhance the platform for the community, or a website developer working to fulfill a client's needs. . This edition shows readers how to navigate WordPress’ vast set of API functions to create high-quality plugins with easy-to-configure administration interfaces.

With new recipes and materials updated for the latest version of WordPress, this book allows you 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 basic mechanisms provided in WordPress to create plugins and execute custom user code. You will then see how to create administration panels, enhance the post editor with custom fields, store custom data, and modify site behavior based on the value of custom fields. You’ll safely incorporate dynamic elements on web pages using scripting languages, and add 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.

Instructions and Navigation

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.

The code will look like the following:

add_filter( 'the_generator', 'ch2gf_generator_filter', 10, 2 );

Related Products