src/PostType/PostType.php
protected function parseStatusArguments(string $status, array $args): array
    {
        $name = ucfirst($status);

        return wp_parse_args($args, [
            'label' => $name,
            'public' => true,
            'exclude_from_search' => false,
            'show_in_admin_all_list' => true,
            'show_in_admin_status_list' => true,
            'label_count' => _n_noop(
                $name.' <span class="count">(%s)</span>',
                $name.' <span class="count">(%s)</span>'
            ),
            'publish_text' => __('Apply Changes')
        ]);
    }
protected function parseStatusArguments(string $status, array $args): array
    {
        $name = ucfirst($status);

        return wp_parse_args($args, [
            'label' => $name,
            'public' => true,
            'exclude_from_search' => false,
            'show_in_admin_all_list' => true,
            'show_in_admin_status_list' => true,
            'label_count' => _n_noop(
                $name.' <span class="count">(%s)</span>',
                $name.' <span class="count">(%s)</span>'
            ),
            'publish_text' => __('Apply Changes')
        ]);
    }
protected function parseStatusArguments ( string $ status , array $ args ) : array { $ name = ucfirst ( $ status ) ; return wp_parse_args ( $ args , [ 'label' => $ name , 'public' => true , 'exclude_from_search' => false , 'show_in_admin_all_list' => true , 'show_in_admin_status_list' => true , 'label_count' => _n_noop ( $ name . ' <span class="count">(%s)</span>' , $ name . ' <span class="count">(%s)</span>' ) , 'publish_text' => __ ( 'Apply Changes' ) ] ) ; }
Parse the status arguments.

@param string $status
@param array  $args

@return array
Parse the status arguments .