Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/load.php | apply_filters | 1064 | /** * 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. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string[] | $actions_to_protect | Array of strings with Ajax actions to protect. |