option_update_filter( array $options )
Refreshes the value of the options whitelist available via the ‘whitelist_options’ hook.
Description Description
See the ‘whitelist_options’ filter.
Parameters Parameters
- $options
-
(array) (Required)
Return Return
(array)
Source Source
File: wp-admin/includes/plugin.php
1936 1937 1938 1939 1940 1941 1942 1943 1944 | 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 ; } |
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |