WordPress.org

Make WordPress Core

Ticket #6196: addnewfilterfield-edit.php.diff

File addnewfilterfield-edit.php.diff, 527 bytes (added by nerrad, 6 years ago)

suggested implementation

  • wp-admin/edit.php

     
    170170<?php } ?> 
    171171 
    172172<?php wp_dropdown_categories('show_option_all='.__('View all categories').'&hide_empty=1&hierarchical=1&show_count=1&selected='.$cat);?> 
     173 
     174<?php do_action('manage_posts_add_filter_field'); ?> 
     175 
    173176<input type="submit" id="post-query-submit" value="<?php _e('Filter'); ?>" class="button-secondary" /> 
    174177<?php } ?> 
    175178</div>