LLMS_Abstract_Options_Data::set_option( string $name, mixed $value )
Set the value of an option
Description Description
Parameters Parameters
- $name
-
(string) (Required) option name (unprefixed)
- $value
-
(mixed) (Required) option value
Return Return
(bool) true if option value has changed false if no update or 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. |
User Contributed Notes User Contributed Notes
Permalink: