LLMS_Abstract_Options_Data::set_option( string $name, mixed $value )
Set the value of an option
Parameters Parameters
- $name
-
(string) (Required) Option name (unprefixed).
- $value
-
(mixed) (Required) Option value.
Return Return
(bool) Returns true if option value has changed and false if no update or the update failed.
Source Source
File: includes/abstracts/llms.abstract.options.data.php
public function set_option( $name, $value ) {
return update_option( $this->get_option_name( $name ), $value );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.17.8 | Introduced. |