Bulk Operations


Learn how to efficiently delete multiple matches, players, or other entities at once using WordPress bulk actions.

Bulk Delete Matches

Need to remove many matches at once? Whether you’re clearing test data or deleting an old season, bulk delete lets you remove up to 100 matches per batch instead of one by one.

Step 1: Increase Items Per Page

By default, WordPress shows 20 items per page. Increase this to process more matches at once:

  1. Go to Football Leagues β†’ Matches
  2. Click Screen Options at the top-right of the page
  3. Set “Number of items per page” to 100 (or 50 if preferred)
  4. Click Apply
Screen Options panel showing items per page setting

Step 2: Filter Matches (Recommended)

Use filters to target specific matches and avoid accidentally deleting the wrong data:

  1. Select a League from the dropdown filter
  2. Optionally filter by Season or Club
  3. Click Filter to apply
Filter dropdown showing league selection

Tip

Always filter first to ensure you’re only deleting the matches you intend to remove.

Step 3: Select and Move to Trash

  1. Check the checkbox in the header row to select all visible matches
  2. From the Bulk actions dropdown, select “Move to Trash”
  3. Click Apply
Bulk actions dropdown with Move to Trash selected

Step 4: Permanently Delete from Trash

Items moved to Trash are not yet permanently deleted. To remove them completely:

  1. Click the Trash link above the matches table
  2. Click Empty Trash to permanently delete all trashed items
Trash link in the matches list view
Empty Trash button to permanently delete matches

Important

Once you click “Empty Trash”, items are permanently deleted and cannot be recovered. Back up your database before bulk deletions.

Step 5: Repeat for Additional Matches

If you have more than 100 matches to delete, repeat steps 3-4 until all unwanted matches are removed.

Bulk Delete Other Entities

The same process works for all Football Leagues entities:

EntityLocation
PlayersFootball Leagues β†’ Players
ClubsFootball Leagues β†’ Clubs
StaffFootball Leagues β†’ Staff
RefereesFootball Leagues β†’ Referees
StadiumsFootball Leagues β†’ Stadiums

Recovering Deleted Items

Made a mistake? Items in Trash can be restored before you empty it:

  1. Click the Trash link
  2. Hover over the item you want to recover
  3. Click Restore

Note

After bulk deletions, clear the plugin cache at Settings & Tools β†’ Toolbox β†’ Clear Cache to ensure standings and statistics update correctly.

Troubleshooting

“Move to Trash” option not appearing?

  • Make sure at least one item is selected
  • Verify you have admin or editor permissions

Matches still showing after deletion?

  • Clear the plugin cache: Settings & Tools β†’ Toolbox β†’ Clear Cache
  • Refresh the page (Ctrl+F5)

Accidentally deleted something important?

  • Check Trash immediately – items remain there until emptied
  • If Trash was already emptied, restore from your database backup