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.


Top ↑

Return Return

(bool) Returns true if option value has changed and false if no update or the update failed.


Top ↑

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 );
	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.17.8 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.