Viewing 3 replies - 1 through 3 (of 3 total)
  • There might be an easier way to do this that Daniel could point to, but off the top of my head I would probably start with the following:

    add_filter('views_edit-post', 'add_custom_post_types');
    
    function add_custom_post_types($views) {
    	$views['assigned'] = '<a href="?post_status=assigned&post_type=post">test</a>';
    	return $views;
    }

    Mind you, this is nowhere near complete. You’ll need to add some more code to have it show how many posts there are of that post type, to show as selected, etc. But ‘views_edit-post’ should be the filter you need to take advantage of.

    If you need anymore help with the code, just post back here.

    Plugin Contributor Daniel Bachhuber

    (@danielbachhuber)

    We don’t have an easy way to add an “All Custom Statuses” link at the moment. What are you wanting to do?

    Thread Starter jorgitobg

    (@jorgitobg)

    Hi,
    Thanks all for answer, im trying to add some custom statuses generated with edit flow plugin… and now I see it appear OK on status list.
    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘custom statuses filter list problem’ is closed to new replies.