
WordPress Plugin Development Cookbook
By :

A great feature of WordPress is the ability for site editors to quickly make changes to any post in the admin section by clicking on the Quick Edit link associated with any of the items shown. While our custom post type taxonomy appears in the Quick Edit section, it is not a drop-down list of choices, as we had in the book review editor to ensure that only a single type is selected. It would also be useful for the author and rating fields to appear in the Quick Edit section to be able to quickly make changes to these fields.
This recipe shows how to add custom fields when quickly editing book reviews. As you perform the following steps, you will see that some of the code that we put in place is not as cleanly written as code from previous recipes, since the WordPress Quick Edit customization infrastructure is not as well-formed as other areas of the platform and involves a mix of PHP and JavaScript.
You should have...