Skip to content
This repository was archived by the owner on Nov 17, 2024. It is now read-only.
This repository was archived by the owner on Nov 17, 2024. It is now read-only.

Orders with custom status don't show in "all orders" list #95

@maxity-germany

Description

@maxity-germany

When calling the orders list without any filters (/wp-admin/edit.php?post_type=shop_order), orders with custom status don't show in the list of orders. They are counted in the menu item counter, but do not appear in the list of orders.

That's my config:

`
register_post_status(

'maxity-b2b-onrequest',

[
	/* WordPress built in arguments. */
	'label'                       => __( 'Auf Anfrage', 'wp-statuses' ),
	'label_count'                 => _n_noop( 'Auf Anfrage <span class="count">(%s)</span>', 'Auf Anfrage <span class="count">(%s)</span>', 'wp-statuses' ),
	'public'                      => true,
	'show_in_admin_all_list'      => true,
	'show_in_admin_status_list'   => true,
	'post_type'                   => array( 'post' ),
	'show_in_metabox_dropdown'    => true,
	'show_in_inline_dropdown'     => true,
	'show_in_press_this_dropdown' => true,
	'labels'                      => [
		'metabox_dropdown' => __( 'Auf Anfrage',        'wp-statuses' ),
		'inline_dropdown'  => __( 'Auf Anfrage',        'wp-statuses' ),
	],
	'dashicon'                    => 'dashicons-email',
]

);`

Any idea why this is happening? WooCommerce and the wp-statuses plugin are on their latest versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions