arm_before_update_block_settings

This filter hook can be used to update or change security settings prior to saving it.

Hook Type: Filter
Usage:
add_filter( 'arm_before_update_block_settings', 'your_function', 10, 2);
function your_function($post_block_settings = array(), $posted_data) {
    //$post_block_settings New security settings
    //$posted_data Posted security setting form data
    return $post_block_settings;
}
Parameters:
$post_block_settings
Array – New security settings
$posted_data
Posted security setting form data