WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Filter Pages by parent in admin] Filter appears at All Posts too

[Resolved] [Plugin: Filter Pages by parent in admin] Filter appears at All Posts too

  • Your filter is very useful but it appears on the edit page for posts too (/wp-admin/edit.php, without any argument). As posts are not hierarchical and not assigned to parent pages this does make no sense. Calling the function get_post_type_object($post_type) you can check the returned object if it has the property ‘hierarchical’. This may help to restrict the display of your filter to such type of (custom) post types.

    http://wordpress.org/extend/plugins/filter-pages-by-parent-in-admin/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Filter Pages by parent in admin] Filter appears at All Posts too’ is closed to new replies.