cptbc_deactivate

The CPT Bootstrap Carousel cptbc deactivate function.

Description

cptbc_deactivate(); 

Usage

  1. if ( !function_exists( 'cptbc_deactivate' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'cpt-bootstrap-carousel/cptbc-settings.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = cptbc_deactivate(); 
  7.  

Defined (1)

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

/cptbc-settings.php  
  1. function cptbc_deactivate() { 
  2. delete_option('cptbc_settings');