arm_before_update_global_settings

This filter hook is useful to update or change global options before saving it.

Hook Type: Filter
Usage:
add_filter( 'arm_before_update_global_settings', 'your_function', 10, 2);
function your_function($new_global_settings = array(), $posted_data) {
    //$new_global_settings New Global Settings
    //$posted_data Posted general setting form data
    return $new_global_settings;
}
Parameters:
$new_global_settings
Array – New Global Settings
$posted_data
Posted general setting form data