Halloween Sale 15% off Ends in See the plans

Snippet Library

Developer snippets for WordPress

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.

1–4 of 4 snippets “filter”

  • PHP Developer

    List Every Hook Fired on a Page

    Lets administrators add ?wpide_hooks=1 to any front-end URL to see, at the bottom of the page, every action and filter that ran and how many times, in firing order.

  • PHP Developer

    Register an "Archived" Post Status

    Adds an "Archived" status for posts that should leave the site without being deleted, with its own filter link in the Posts list and a status choice in the editor.

  • PHP Developer

    Show Which Functions Run on a Hook

    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.

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.