wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_protected_ajax_actions › WordPress Filter Hooks

Da5.2.0
Deprecaton/a
apply_filters( 'wp_protected_ajax_actions', $actions_to_protect )
Parametri:
  • (string[]) $actions_to_protect Array of strings with Ajax actions to protect.
    Richiesto:
Definito a:
Codex:

Filters the array of protected Ajax actions.

This filter is only fired when doing Ajax and the Ajax request has an 'action' property.





Sorgenti

$actions_to_protect = (array) apply_filters( 'wp_protected_ajax_actions', $actions_to_protect );