Taxonomy: Allow for adding custom list table views to taxonomy screens.

Props eventualo, mariovalney, riddhiehta02, llemurya.
Fixes #30829.

git-svn-id: https://develop.svn.wordpress.org/trunk@41378 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2017-09-13 15:19:02 +00:00
parent fb227caed1
commit 9bdad8906a
1 changed files with 3 additions and 0 deletions

View File

@ -527,6 +527,9 @@ do_action( "{$taxonomy}_add_form", $taxonomy );
<div id="col-right"> <div id="col-right">
<div class="col-wrap"> <div class="col-wrap">
<?php $wp_list_table->views(); ?>
<form id="posts-filter" method="post"> <form id="posts-filter" method="post">
<input type="hidden" name="taxonomy" value="<?php echo esc_attr( $taxonomy ); ?>" /> <input type="hidden" name="taxonomy" value="<?php echo esc_attr( $taxonomy ); ?>" />
<input type="hidden" name="post_type" value="<?php echo esc_attr( $post_type ); ?>" /> <input type="hidden" name="post_type" value="<?php echo esc_attr( $post_type ); ?>" />