register order auto drafts post status

This commit is contained in:
Ron Rennick 2019-01-08 16:35:54 -04:00
parent 95af4c87f8
commit e5b39f12c6
1 changed files with 6 additions and 0 deletions

View File

@ -547,6 +547,12 @@ class WC_Post_Types {
/* translators: %s: number of orders */ /* translators: %s: number of orders */
'label_count' => _n_noop( 'Failed <span class="count">(%s)</span>', 'Failed <span class="count">(%s)</span>', 'woocommerce' ), 'label_count' => _n_noop( 'Failed <span class="count">(%s)</span>', 'Failed <span class="count">(%s)</span>', 'woocommerce' ),
), ),
'wc-auto-draft' => array(
'public' => false,
'exclude_from_search' => false,
'show_in_admin_all_list' => false,
'show_in_admin_status_list' => false,
),
) )
); );