Admin Notice Helper That Survives Redirects
Adds a wpide_flash_notice() helper that queues a success, warning or error message for the current user and shows it on the next admin screen, even after a redirect.
Snippet Library
Snippets for developers: debugging helpers, custom cron schedules, body classes, REST API tweaks and admin tools for checking hooks and queries. Building blocks for people who write code for WordPress every day.
Adds a wpide_flash_notice() helper that queues a success, warning or error message for the current user and shows it on the next admin screen, even after a redirect.
Adds a wpide_remember() helper that returns a cached value if there is one, or runs your function, stores the result for a set time and returns it, which makes caching slow queries and API calls a one-liner.
Adds a "wp meta-keys" command that lists every custom field key used by a post type and how many posts use it, which helps when cleaning up after old plugins or planning a migration.
Adds wpide_timer_start() and wpide_timer_stop() helpers that measure the time and memory a piece of code uses and write the result to the PHP error log, to find slow functions.
Shows administrators the object cache hit rate, hits and misses for the current page in the admin bar, to check whether Redis or Memcached is actually helping.
Adds a wpide_log() helper that writes timestamped messages and data to a daily log file in a protected folder inside uploads, so custom code can leave a trail without touching debug.log.
Adds a wpide_dump() helper that shows any variable in a readable, collapsible box only to administrators, so debug output never reaches visitors even if you forget to remove it.
Adds a wpide_run_later() helper that schedules any hook to run once after a delay, without creating duplicates, so slow work like sending a report or calling an API can leave the page request.
Adds a wpide_console() helper that prints any PHP variable to the browser's developer console for administrators, so you can inspect data without breaking the page layout.
Prints a small window.siteSettings object with the home URL, REST API root, AJAX URL, language and, for logged-in users, a REST nonce, so your custom JavaScript never hard-codes addresses.
Adds a "Subtitle" box to the post editor, saves it securely and provides a [wpide_subtitle] shortcode and a helper to display it in your theme.