cf7_style_deactivate

Reset the cf7_style_cookie option.

Description

cf7_style_deactivate(); 

Usage

  1. if ( !function_exists( 'cf7_style_deactivate' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'contact-form-7-style/cf7-style.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = cf7_style_deactivate(); 
  7.  

Defined (1)

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

/cf7-style.php  
  1. function cf7_style_deactivate() { 
  2. update_option( 'cf7_style_cookie', false ); 
  3. update_option( 'cf7_style_add_categories', 0 );