inkthemes_delete_option

The ColorWay inkthemes delete option function.

Description

inkthemes_delete_option( (string) $name ); 

Parameters (1)

0. $name (string)
The name.

Usage

  1. if ( !function_exists( 'inkthemes_delete_option' ) ) { 
  2. require_once '/functions.php'; 
  3.  
  4. // The name. 
  5. $name = ''; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = inkthemes_delete_option($name); 
  9.  

Defined (1)

The function is defined in the following location(s).

/functions.php  
  1. function inkthemes_delete_option($name) { 
  2. $options = get_option('inkthemes_options'); 
  3. unset($options[$name]); 
  4. return update_option('inkthemes_options', $options);