aism_maintenance
Run scheduled cron events on demand, flush object cache, regenerate permalinks, and delete expired transients to perform WordPress site maintenance.
Instructions
Routine maintenance. run_cron runs one already-scheduled event now inside this request (hook from aism_cron_list; pass key when the hook has several argument sets) — works on hosts without working WP-Cron; recurring events are rescheduled. flush_cache empties the object cache, flush_rewrite_rules regenerates permalinks (soft flush), delete_expired_transients removes expired transients. Requires maintenance:write and manage_options (companion 1.6.0+).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | run_cron: event key from aism_cron_list. | |
| hook | No | run_cron: event hook. | |
| site | No | Configured site name from aism_sites. Omit for the default site. | |
| action | Yes | ||
| timestamp | No | run_cron: only the occurrence scheduled at this Unix time. |