WordPress at a glance
function is not described

option_update_filter() WP 2.7.0

Refreshes the value of the options whitelist available via the 'whitelist_options' hook.

See the 'whitelist_options' filter.

  • Global. Array. $new_whitelist_options

No Hooks.

Return

Array.

Usage

option_update_filter( $options );
$options(array) (required)

Code of option update filter: wp-admin/includes/plugin.php VER 5.1.1

<?php
function option_update_filter( $options ) {
	global $new_whitelist_options;

	if ( is_array( $new_whitelist_options ) ) {
		$options = add_option_whitelist( $new_whitelist_options, $options );
	}

	return $options;
}