Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
check_ajax_referer

Description

Runs in the default check_ajax_referer function (which is called when an AJAX request goes to the wp-admin/admin-ajax.php script) after the user's login and password have been successfully validated from cookies, to allow a plugin to force WordPress to die for extra security reasons. Note that check_ajax_referer is also a "pluggable" function, meaning that plugins can override it; see Plugin API).

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for check_ajax_referer

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

Version File Line Type
2.1 wp-includes/pluggable.php 249 View in context action
2.2 wp-includes/pluggable.php 303 View in context action
2.3 wp-includes/pluggable.php 368 View in context action
2.5 wp-includes/pluggable.php 655 View in context action
2.6 wp-includes/pluggable.php 736 View in context action
2.7 wp-includes/pluggable.php 816 View in context action
2.8 wp-includes/pluggable.php 831 View in context action
2.9 wp-includes/pluggable.php 834 View in context action
3.0 wp-includes/pluggable.php 856 View in context action
3.1 wp-includes/pluggable.php 866 View in context action
3.2 wp-includes/pluggable.php 903 View in context action
3.3 wp-includes/pluggable.php 835 View in context action
3.4 wp-includes/pluggable.php 850 View in context action
3.5 wp-includes/pluggable.php 845 View in context action
3.6 wp-includes/pluggable.php 844 View in context action
3.7 wp-includes/pluggable.php 851 View in context action
3.8 wp-includes/pluggable.php 848 View in context action
3.9 wp-includes/pluggable.php 1074 View in context action
4.0 wp-includes/pluggable.php 1126 View in context action
4.1 wp-includes/pluggable.php 1131 View in context action
4.2 wp-includes/pluggable.php 1149 View in context action
4.3 wp-includes/pluggable.php 1158 View in context action
4.4 wp-includes/pluggable.php 1171 View in context action
4.5 wp-includes/pluggable.php 1114 View in context action
4.6 wp-includes/pluggable.php 1104 View in context action
4.7 wp-includes/pluggable.php 1109 View in context action
4.8 wp-includes/pluggable.php 1140 View in context action
4.9 wp-includes/pluggable.php 1146 View in context action
5.0 wp-includes/pluggable.php 1153 View in context action
5.1 wp-includes/pluggable.php 1164 View in context action

Related Hooks

We find related hooks using word stems. check_ajax_referer has 3 significant word stem(s): check, ajax, referer. Note that some of the hooks below may not appear in all versions of WP.