Missed Schedule Publisher WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Catches scheduled posts that have been missed and publishes them.
★ 0stars
3release downloads
616composer installs
1.0.1latest · 1 year ago
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/thefrosty/wp-missed-schedule-publisher/releases/download/1.0.1/wp-missed-schedule-publisher.zipOn Packagist as thefrosty/wp-missed-schedule-publisher:
composer require thefrosty/wp-missed-schedule-publisherNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WordPress Missed Schedule Publisher
Catches scheduled posts that have been missed and publishes them.
Package Installation (via Composer)
$ composer require thefrosty/wp-missed-schedule-publisher:^1.0
Integrations
Supports the following 3rd party plugin(s):
- Simple History -- log missed scheduled events and publications
TheFrosty\WpMissedSchedulePublisher\WpAdmin\MissedSchedulePublisher::ACTION_SCHEDULE_MISSEDTheFrosty\WpMissedSchedulePublisher\WpAdmin\MissedSchedulePublisher::ACTION_SCHEDULE_PUBLISH
-
-
When a one or more posts have missed their schedule. Example:
use TheFrosty\WpMissedSchedulePublisher\WpAdmin\MissedSchedulePublisher; add_action(MissedSchedulePublisher::ACTION_SCHEDULE_MISSED, static function(array $post_ids): void { // Do something with the post ID's array. }); -
When a post that missed its schedule is published. Example:
use TheFrosty\WpMissedSchedulePublisher\WpAdmin\MissedSchedulePublisher; add_action(MissedSchedulePublisher::ACTION_SCHEDULE_PUBLISH, static function(int $post_id, false | string $old_status): void { $new_status = get_post_status($post_id); // Maybe there was an issue publishing? if ($old_status === $new_status) { return; } // Do something with the $post_id. });
-
TheFrosty\WpMissedSchedulePublisher\WpAdmin\MissedSchedulePublisher::FILTER_BATCH_LIMITTheFrosty\WpMissedSchedulePublisher\WpAdmin\MissedSchedulePublisher::FILTER_FREQUENCY
- How to use filters
- Change the allowed batch (query) limit count. Example:
use TheFrosty\WpMissedSchedulePublisher\WpAdmin\MissedSchedulePublisher; // Lower it to only 10 (defaults to 20) add_filter(MissedSchedulePublisher::FILTER_BATCH_LIMIT, static fn(): int => 10); - Change the frequency of the check (in seconds). Example:
use TheFrosty\WpMissedSchedulePublisher\WpAdmin\MissedSchedulePublisher; // Every hour (defaults to 15 minutes) add_filter(MissedSchedulePublisher::FILTER_FREQUENCY, static fn(): int => \HOUR_IN_SECONDS); // Every minute (defaults to 15 minutes) add_filter(MissedSchedulePublisher::FILTER_FREQUENCY, static fn(): int => \MINUTE_IN_SECONDS);
- Change the allowed batch (query) limit count. Example:
Releases
2 releases. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads
1.0.1
latest
Dec 18, 2024 1 year ago
wp-missed-schedule-publisher.zip
+1 asset
3
wp-missed-schedule-publisher.zip3
wp-missed-schedule-publisher-1.0.1.zip0
Dec 17, 2024 1 year ago
wp-missed-schedule-publisher.zip
+1 asset
0
wp-missed-schedule-publisher.zip0
wp-missed-schedule-publisher-1.0.0.zip0