register order auto drafts post status
This commit is contained in:
parent
95af4c87f8
commit
e5b39f12c6
|
@ -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,
|
||||||
|
),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue