Fires non-authenticated Ajax actions for logged-out users.
Description
The dynamic portion of the hook name, $action
, refers to the name of the Ajax action callback being fired.
Source
do_action( "wp_ajax_nopriv_{$action}" );
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.