Keep the global settings in step with the saved option
The global $epl_settings is loaded once per request, so without this epl_get_option() and epl_get_saved_option() return the old values for the rest of the request after the epl_settings option is saved.
| Since | |
|---|---|
3.6 |
|
| Parameters | |||
|---|---|---|---|
mixed
|
$old_value |
Previous value (unused). |
# |
mixed
|
$value |
Saved value. |
# |