Skip to content

Commit

Permalink
Add more statuses to default page views
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster committed Nov 15, 2023
1 parent 1bf654b commit 79d00aa
Showing 1 changed file with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,36 @@ const DEFAULT_VIEWS = {
],
},
},
{
title: __( 'Pending' ),
slug: 'pending',
view: {
...DEFAULT_PAGE_BASE,
filters: [
{ field: 'status', operator: 'in', value: 'pending' },
],
},
},
{
title: __( 'Scheduled' ),
slug: 'scheduled',
view: {
...DEFAULT_PAGE_BASE,
filters: [
{ field: 'status', operator: 'in', value: 'future' },
],
},
},
{
title: __( 'Private' ),
slug: 'private',
view: {
...DEFAULT_PAGE_BASE,
filters: [
{ field: 'status', operator: 'in', value: 'private' },
],
},
},
{
title: __( 'Trash' ),
slug: 'trash',
Expand Down

0 comments on commit 79d00aa

Please sign in to comment.