WordPress at a glance
filter is not described

rest_pre_update_setting filter-hook . WP 4.7.0

Filters whether to preempt a setting value update.

Allows hijacking the setting update logic and overriding the built-in behavior by returning true.

Usage

add_filter( 'rest_pre_update_setting', 'filter_function_name_5440', 10, 4 );
function filter_function_name_5440( $result, $name, $value, $args ){
	// filter...

	return $result;
}
$result(true/false)
Whether to override the default behavior for updating the value of a setting.
$name(string)
Setting name (as shown in REST API responses).
$value(mixed)
Updated setting value.
$args(array)
Arguments passed to register_setting() for this setting.

Where the hook is called

WP_REST_Settings_Controller::update_item()
wp-includes/rest-api/endpoints/class-wp-rest-settings-controller.php 163
$updated = apply_filters( 'rest_pre_update_setting', false, $name, $request[ $name ], $args );

Where the hook is used (in WP core)

Does not used.