humanmade / humanmade/Cavalcade

Multisite cleanup

Open
#16 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
542
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Hey, so we're using a WP multisite setup, and noticed that when a site is deleted, Cavalcade doesn't clean out the jobs for these non-existent sites.

```
add_action('delete_blog', 'cleanup')

function cleanup($site_id) {
// remove jobs owned by $site_id
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.