W3cubDocs

/WordPress

do_action( "wp_ajax_{$_REQUEST[‘action’]}" )

Fires authenticated Ajax actions for logged-in 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

View on Trac

Changelog

Version Description
2.1.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_ajax__requestaction