wp_ajax_nopriv_{$action}

SummerySummery

Fires non-authenticated Ajax actions for logged-out users.

Syntax

do_action( "wp_ajax_nopriv_{$action}" )

DescriptionDescription

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

SourceSource

File: wp-admin/admin-ajax.php

ChangelogChangelog

Changelog
Version Description
2.8.0 Introduced.
Scroll to Top