bp_gifts_deactivate

On deacativation, clean up anything your component has added.

Description

bp_gifts_deactivate(); 

Usage

  1. if ( !function_exists( 'bp_gifts_deactivate' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress-gifts-latest-2014/loader.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_gifts_deactivate(); 
  7.  

Defined (1)

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

/loader.php  
  1. function bp_gifts_deactivate() { 
  2.  
  3. /** You might want to delete any options or tables that your component created. */ 
  4.  
  5.