apply_filters( 'wp_protected_ajax_actions', string[] $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.


Top ↑

Parameters Parameters

$actions_to_protect

(string[]) Array of strings with AJAX actions to protect.


Top ↑

Source Source

File: wp-includes/load.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.