VideoPress_Options::delete_options PHP Method

delete_options() public static method

Runs when the VideoPress module is deactivated.
public static delete_options ( )
    public static function delete_options()
    {
        Jetpack_Options::delete_option(self::$option_name);
        self::$options = array();
    }

Usage Example

コード例 #1
0
 /**
  * Runs when the VideoPress module is deactivated.
  */
 public function jetpack_module_deactivated()
 {
     VideoPress_Options::delete_options();
 }