Support » Plugin: Edit Flow » custom statuses filter list problem

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author cojennin


    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 Author Daniel Bachhuber


    Hand Built

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

    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.

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