Filtering by Event Status
By default a league table counts events with two WordPress post statuses: published events (results entered) and scheduled future events (results not yet entered). You can restrict a table to count only one of these statuses to control which events contribute to the standings.
Where the Setting Appears
Open the league table edit screen. In the Details meta box, find the Event Status (with results) section. It contains two checkboxes:
Published/Played — counts events with
post_status = publishScheduled/Future — counts events with
post_status = future
Both checkboxes are checked by default.
How to Change the Filter
Open the league table edit screen.
In the Details meta box, locate Event Status (with results).
Uncheck the status you want to exclude.
Click Update.
For example, to count only events that have been played and have results entered:
Check Published/Played
Uncheck Scheduled/Future
To count only scheduled (not yet played) events:
Uncheck Published/Played
Check Scheduled/Future
How It Works
When the league table calculates standings, it passes the selected status values as the post_status argument to the WordPress event query. Only events whose post_status matches one of the checked values are included in the calculation. Events with any other status (draft, pending, trash) are never counted regardless of this setting.
The setting is stored in the sp_event_status post meta field on the league table post as an array of status strings.
Shortcode Override
The shortcode also accepts attributes to override this filter without editing the table:
show_published_events="1"— force-includes published eventsshow_published_events="0"— force-excludes published eventsshow_future_events="1"— force-includes future/scheduled eventsshow_future_events="0"— force-excludes future/scheduled events
These shortcode attributes take precedence over the saved meta box values. The final status array is deduplicated before the query runs.
