Halloween Sale 15% off Ends in See the plans

Snippet Library

Performance snippets for WordPress

Snippets that make WordPress lighter and faster: remove emoji scripts and embeds, control the Heartbeat API, limit revisions and load scripts only where they are needed. For developers and site owners chasing better Core Web Vitals.

1–6 of 6 snippets “cron”

  • PHP Performance

    Find and Remove Orphaned Cron Events

    Adds Tools > Orphaned Cron Events, listing scheduled tasks that no active plugin or theme handles any more (often left by uninstalled plugins) and removing them after you confirm.

  • PHP Performance

    Log Scheduled Tasks That Take Too Long

    Measures how long each scheduled task (cron event) takes to run and records the slow ones under Tools > Slow Cron Tasks, so you can spot the plugin that makes WP-Cron sluggish.

  • PHP Performance

    Run WP-Cron From a Real Cron Job

    Stops WordPress from checking for scheduled tasks on every page view; you trigger wp-cron.php from your server's cron instead, which is faster and more reliable.

  • PHP Performance

    Send Emails in the Background

    Queues emails sent by WordPress and plugins and sends them a few seconds later through WP-Cron, so form submissions, orders and registrations no longer wait for the mail server.

  • PHP Performance

    Spawn WP-Cron Less Often

    Lets WordPress start its background task runner at most every five minutes instead of every minute, reducing extra requests on busy sites.

Have a snippet worth sharing?

Publish it to the library from WPIDE or right here. Sign in with any WordPress site that runs WPIDE, free or Pro. Public snippets are reviewed by the WPIDE team before they appear.