wherego_update_option()
Update an option.
Updates a setting value in both the db and the global variable.
Since: 2.1.0
Source: includes/options-api.php line 87
Signature
function wherego_update_option( $key = ..., $value = ... ): boolean;
Parameters
| Type | Name | Description |
|---|---|---|
string | $key | The Key to update. |
string|bool|int | $value | The value to set the key to. |
Returns
boolean — true if updated, false if not.