M_delete_option

The Membership 2 M delete option function.

Description

M_delete_option( $key ); 

Parameters (1)

0. $key
The key.

Usage

  1. if ( !function_exists( 'M_delete_option' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'membership-2/app_old/membershipincludes/includes/functions.php'; 
  3.  
  4. // The key. 
  5. $key = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = M_delete_option($key); 
  9.  

Defined (1)

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

/app_old/membershipincludes/includes/functions.php  
  1. function M_delete_option($key) { 
  2.  
  3. if(defined('MEMBERSHIP_GLOBAL_TABLES') && MEMBERSHIP_GLOBAL_TABLES === true) { 
  4. if(function_exists('delete_blog_option')) { 
  5. return delete_blog_option(MEMBERSHIP_GLOBAL_MAINSITE, $key ); 
  6. } else { 
  7. return delete_option( $key ); 
  8. } else { 
  9. return delete_option( $key ); 
  10.