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.
(array) (required) An array of the plugin settings as loaded from wp_options.
Contents of the $settings array will follow this format:
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.
- Introduced in version 2.9.0
- Moved to the WP_Members class in 3.0.0
wpmem_settings is located in /inc/class-wp-members.php