acf/prevent_access_to_unknown_fields

acf/prevent_access_to_unknown_fields

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.2.1

apply_filters('acf/prevent_access_to_unknown_fields') is found 1 times:

  • /includes/api/api-template.php line 886
    		$atts,
    		'acf'
    	);
    
    	$access_already_prevented = apply_filters( 'acf/prevent_access_to_unknown_fields', false );
    	$filter_applied           = false;
    
    	if ( ! $access_already_prevented ) {
    		$filter_applied = true;
    		add_filter( 'acf/prevent_access_to_unknown_fields', '__return_true' );
    	}