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


Top ↑

Return Return

(bool) true if option value has changed false if no update or 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.





Permalink: