How to do it...

  1. Navigate to the ch4-book-reviews folder of the WordPress plugin directory of your development installation.
  2. Open the ch4-book-reviews.php file in a code editor.
  3. Find the call to the register_taxonomy function within the ch4_br_create_book_post_type function and add a new member to the configuration array named show_in_quick_edit with a value set to false highlighted in bold:
'show_tagcloud' => false, 'meta_box_cb' => false,'show_in_quick_edit' => false,'hierarchical' => true,
  1. Add the following line of code after the existing functions to register a function to be called when WordPress is preparing to render the contents of the Quick Edit section:
add_action( 'quick_edit_custom_box', 'ch4_br_display_custom_quickedit_link', ...

Get WordPress Plugin Development Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.