enter image description here

I’ve created new post status. Here’s code from my custom plugin:

add_action('init', 'new_post_status_add');

function new_post_status_add () {
    register_post_status('refused', array(
        'label'                     => _x('Refused', 'post'),
        'public'                    => true,
        'exclude_from_search'       => false,
        'show_in_admin_all_list'    => true,
        'show_in_admin_status_list' => true,
        'label_count'               => _n_noop('Refused <span class="count">(%s)</span>', 'Refused <span class="count">(%s)</span>'),

But it’s not working – not visible in edit form and quick edit form:

What should I do to make status available?

Read more here: WordPress – custom post status is not showing


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: