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 GitHub


Changelog

Changelog
Version Description
WP-2.1.0 Introduced.