Description
Filters the plugin settings before they are loaded into the plugin’s main object. This can be used to change plugin settings on the fly for different criteria.
Parameters
$settings
(array) (required) An array of the plugin settings as loaded from wp_options.
Contents of the $settings array will follow this format:
Usage
Notes
Once in the object, the settings managed by this filter can be changed directly in the object on the fly, so this filter is not used much anymore. However, it remains supported in the plugin.
Changelog
- Introduced in version 2.9.0
- Moved to the WP_Members class in 3.0.0
Source
wpmem_settings
is located in /includes/class-wp-members.php