Skip to Main Content
WordPress Plugin Development Cookbook - Third Edition
book

WordPress Plugin Development Cookbook - Third Edition

by Yannick Lefebvre
March 2022
Intermediate to advanced content levelIntermediate to advanced
420 pages
8h 21m
English
Packt Publishing
Content preview from WordPress Plugin Development Cookbook - Third Edition

Chapter 7: Accepting User Content Submissions

Giving users the ability to contribute content to a website is always a good way to engage the community and keep content fresh on a website. That being said, WordPress does not provide any built-in mechanism for site visitors to submit content to site administrators. This is even more obvious when you consider that adding a simple contact form to a site requires the installation of a plugin.

Going back to the book review system that was put in place in Chapter 4, The Power of Custom Post Types, this chapter will show you how to create a user-facing form to allow visitors to submit their own book reviews to a website. We'll also see how to save this information in the site database, send out email ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

WordPress 5 Cookbook

WordPress 5 Cookbook

Rakhitha Nimesh Ratnayake
Building Web Apps with WordPress, 2nd Edition

Building Web Apps with WordPress, 2nd Edition

Brian Messenlehner, Jason Coleman
Professional WordPress Plugin Development, 2nd Edition

Professional WordPress Plugin Development, 2nd Edition

Brad Williams, Justin Tadlock, John James Jacoby

Publisher Resources

ISBN: 9781801810777Supplemental Content