bp_activity_privacy_load_core

The BuddyPress Activity Privacy bp activity privacy load core function.

Description

bp_activity_privacy_load_core(); 

Usage

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

Defined (1)

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

/includes/bp-activity-privacy-loader.php  
  1. function bp_activity_privacy_load_core() { 
  2. global $bp, $bp_activity_privacy; 
  3.  
  4. $bp_activity_privacy = new BP_Activity_Privacy;