apply_filters( 'wp_protected_ajax_actions', array $actions_to_protect )
Filters the array of protected AJAX actions.
Description Description
This filter is only fired when doing AJAX and the AJAX request has an ‘action’ property.
Parameters Parameters
- $actions_to_protect
-
(array) Array of strings with AJAX actions to protect.
Source Source
File: wp-includes/load.php
Changelog Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |