do_action( "wp_ajax_nopriv_{$_REQUEST[‘action’]}" )
Fires non-authenticated Ajax actions for logged-out users.
Description
The dynamic portion of the hook name, $_REQUEST['action']
, refers to the name of the Ajax action callback being fired.
Source
File: wp-admin/admin-ajax.php
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_ajax_nopriv__requestaction