This filter can be used to dynamically change or add to the Gravity PDF global settings. For a permanent way to set the global settings you should use the
GPDFAPI::update_plugin_option() methods instead.
$settings | array
- The Gravity PDF global settings
- This shouldn't be confused with the individual PDF settings.
$is_temp | boolean
- If this is
true, a user failed the settings validate/sanitise process, and we are returning their saved state.
- It's highly unlikely you ever need to change the default settings when this is
true, and you should check for this in your filter.
This snippet shows you how to change the logged out timeout security setting. Before modifying the setting, we're looking for a constant you conditionally defined at some stage (but you could use any temporary condition).
This filter is located in the
Helper_Abstract_Options::get_settings() method of