WordPress at a glance
filter is not described

wp_protected_ajax_actions filter-hook . WP 5.2.0

Filters the array of protected AJAX actions.

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


add_filter( 'wp_protected_ajax_actions', 'filter_function_name_2209' );
function filter_function_name_2209( $actions_to_protect ){
	// filter...

	return $actions_to_protect;
Array of strings with AJAX actions to protect.

Where the hook is called

wp-includes/load.php 881
$actions_to_protect = (array) apply_filters( 'wp_protected_ajax_actions', $actions_to_protect );

Where the hook is used (in WP core)

Использование не найдено.