AutoClose uses a WordPress cron event named acc_cron_hook to run its maintenance tasks on a schedule. Understanding how the schedule is built helps when you want to debug missed runs, run at a different time, or migrate to a real server cron. How the schedule is built The schedule is created from the General tab...
AutoClose registers the following WP-CLI command tree. Use WP-CLI’s global --url option to select a site in a multisite installation. wp autoclose status Shows the current site’s AutoClose version, feature settings, cron health, next scheduled run, timezone, and the latest maintenance outcome. Use --format=json or --format=csv for scripts and monitoring. On multisite, select the site...
The AutoClose metabox on the post edit screen lets you schedule a specific date and time to close comments, pingbacks, or trackbacks on a single post. This is useful for evergreen posts you want to keep open for a known window, or for announcements whose comment period ends on a fixed date. Where the metabox...
AutoClose provides several layered mechanisms to keep specific content open: keep-open post IDs, taxonomy term exclusions, per-post-type age overrides, the per-post close-date metabox, and the per-post override. This article covers the bulk-exclusion and per-post-type mechanisms; the metabox is covered in AutoClose Metabox and Close Dates. Keep comments open on these posts/pages The Comments → Keep...
The AutoClose Tools page provides one-click buttons to run the closing and opening actions immediately, without waiting for the scheduled cron. Access it via Tools → AutoClose Tools in your WordPress admin, or via the Tools link in the admin banner shown on both the Tools and Settings pages. AutoClose Status A panel at the...
This document describes all available settings for the AutoClose plugin. Access settings via Settings → AutoClose in your WordPress admin. Since v3.1.2, a search box on the settings screen filters options across all tabs as you type — start typing to jump straight to the setting you are looking for. General Activate scheduled closing Enable...
AutoClose is hosted on WordPress.org. Installing it follows the standard WordPress plugin flow. WordPress install (The easy way) Manual install Installing via WP CLI If you use WP-CLI, install and activate the plugin with: To network activate on a multisite install: Next steps After activation, open Settings → AutoClose to configure the cron schedule, the...