mute_load

Load the plugin.

Description

mute_load(); 

Usage

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

Defined (1)

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

/buddypress-mute.php  
  1. function mute_load() { 
  2.  
  3. if ( ! bp_is_active( 'activity' ) ) { 
  4. return; 
  5. global $bp; 
  6.  
  7. require_once dirname( __FILE__ ) . '/inc/classes/bp-component-mute.php'; 
  8.  
  9. // Load the component into $bp. 
  10. $bp->mute = new BP_Component_Mute;