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–5 of 5 snippets “debugging”

  • PHP Performance

    Find What Is Calling admin-ajax.php

    Counts admin-ajax.php requests per action (and whether they come from the front end or the dashboard) for the current day and the previous six, and shows the busiest ones under Tools > AJAX Usage.

  • 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

    Page Weight Summary in the Admin Bar

    Shows an admin bar item on the front of the site with the total size of the page's scripts, stylesheets, images and fonts, and a breakdown with the heaviest files when you click it.

  • PHP Performance

    Server-Timing Header for Administrators

    Adds a Server-Timing header with PHP time, database query count and peak memory to pages viewed by administrators, so you can read the numbers in your browser's developer tools Network tab.

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.