Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
set_404

WordPress version history for set_404

This database has information for all major versions from WP 1.2.1 through 4.4.

Version File Line Type
5.5 wp-includes/class-wp-query.php 1720 View in context action
5.6 wp-includes/class-wp-query.php 1720 View in context action
5.7 wp-includes/class-wp-query.php 1723 View in context action

Important warning!

This hook does not occur in the most recent version of WordPress (4.4). Do not use it. It is deprecated. You should look at the list of "related hooks" below to see if you can figure out what replaced it.

Related Hooks

We find related hooks using word stems. set_404 has 1 significant word stem(s): set. Note that some of the hooks below may not appear in all versions of WP.