Description
Filters the array of protected Ajax actions. This filter is only fired when doing Ajax and the Ajax request has an 'action' property.
Occurrences
Filename | Line Number |
---|---|
wp-includes/load.php | 1220 |
Parameters
Type | Name | Description |
---|---|---|
string[] | $actions_to_protect | Array of strings with Ajax actions to protect. |
PHP Doc
/**
* Filters the array of protected Ajax actions.
*
* This filter is only fired when doing Ajax and the Ajax request has an 'action' property.
*
* @since 5.2.0
*
* @param string[] $actions_to_protect Array of strings with Ajax actions to protect.
*/