Readable Variable Dump for Administrators
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.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
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 Tools > Image Sizes screen listing every image size WordPress creates on upload, with its width, height and crop mode, so you can see what themes and plugins have added.
Adds Tools > Rewrite Rules, listing every rewrite rule and showing which rule and query a URL path you enter would match, for debugging 404s and custom permalinks.
Adds a Tools > Cron Events screen listing every scheduled WP-Cron event with its next run time, recurrence and hook name, to debug missed or duplicate tasks.
Adds a Tools > Options Viewer screen where administrators can search the options table by name and see each value decoded and pretty-printed, including serialized arrays that Settings > All hides.
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.
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.
Counts the external HTTP requests WordPress, plugins and themes make while building a page, and lists each URL, status and time in an admin bar menu for administrators.
Lets administrators see PHP warnings and notices on screen by adding ?wpide_debug=1 to any address, while visitors and other users never see them, even with WP_DEBUG_DISPLAY off.
Replaces the WordPress version in the bottom right of admin screens with the PHP version, peak memory use and database query count of the current page.
Adds a "Conditionals" menu to the front-end admin bar for administrators listing which template conditions are true on the current page, such as is_singular(), is_archive() or is_front_page().
Lets administrators add ?wpide_hook=the_content (or any hook name) to a URL and see the callbacks attached to that hook with their priorities and source files, printed at the bottom of the page.
Adds a collapsible list of everything a user is allowed to do to the user edit screen, which helps when checking what a role or plugin has granted.
Displays the current screen ID, base, post type and hook suffix in the admin footer for administrators, which is exactly what you need when targeting a screen in your own code.
Displays the theme template file (and block template, on block themes) used for the current page in the admin bar, for administrators only.
Adds a "Template parts" menu to the front-end admin bar for administrators listing every template part loaded on the page, for both classic themes (get_template_part) and block themes.
When SAVEQUERIES is enabled, lists the slowest database queries of the page with their duration and caller in an HTML comment visible to administrators.
Adds a Tools > Transients screen listing the cached transients stored in the database with their size and expiry time, and lets administrators delete a single one to force a refresh.
Shows administrators a read-only table of every stored user meta value at the bottom of user profile screens, with session tokens and other secrets masked.
Adds a Tools > Debug Log screen that shows the last lines of wp-content/debug.log, so administrators can check errors without FTP access.
Adds "wp wpide-mail test [email protected]" to WP-CLI, which sends a test email and prints the exact error if it fails, handy on servers without admin access.
Records the conversation between WordPress and your SMTP server in the PHP error log while you troubleshoot, with passwords and login tokens blanked out.
Adds a Tools > Config Constants screen that shows the value of important wp-config.php settings, such as debug mode, memory limits, cron, caching and file editing, without opening the file.