The dynamic portion of the hook name, $action
, refers to the name of the Ajax action callback being fired.
↧
wp_ajax_nopriv_{$action}
↧
The dynamic portion of the hook name, $action
, refers to the name of the Ajax action callback being fired.