wphooks.info - wp_ajax_{$_REQUEST[}action

wp_ajax_{$_REQUEST[}action

The hook occurs in the following file:

wp-admin/admin-ajax.php:
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
if ( is_user_logged_in() ) {
	/**
	 * Fires authenticated Ajax actions for logged-in users.
	 *
	 * The dynamic portion of the hook name, `$_REQUEST['action']`,
	 * refers to the name of the Ajax action callback being fired.
	 *
	 * @since 2.1.0
	 */
	do_action( 'wp_ajax_' . $_REQUEST['action'] );
} else {
	/**
	 * Fires non-authenticated Ajax actions for logged-out users.
	 *
	 * The dynamic portion of the hook name, `$_REQUEST['action']`,
	 * refers to the name of the Ajax action callback being fired.
	 *
	 * @since 2.8.0
	 */