Tribe__Settings_Manager::remove_option( string $name )

Remove an option. Actually remove (unset), as opposed to setting to null/empty string/etc.


Parameters

$name

(string) (Required) The option key or 'name'.


Top ↑

Return

(bool)


Top ↑

Source

File: src/Tribe/Settings_Manager.php

	public static function remove_option( $name ) {
		$options          = self::get_options();
		unset( $options[ $name ] );

		return static::set_options( $options );
	}

Top ↑

Changelog

Changelog
Version Description
4.14.13 Introduced.