Tribe__Settings_Manager::remove_option( string $name )
Remove an option. Actually remove (unset), as opposed to setting to null/empty string/etc.
Contents
Parameters
- $name
-
(string) (Required) The option key or 'name'.
Return
(bool)
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 ); }
Changelog
Version | Description |
---|---|
4.14.13 | Introduced. |