bp_avatar_suggestions

The BP Avatar Suggestions bp avatar suggestions function.

Description

bp_avatar_suggestions(); 

Usage

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

Defined (1)

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

/bp-avatar-suggestions.php  
  1. function bp_avatar_suggestions() { 
  2. $bp = buddypress(); 
  3.  
  4. if ( empty( $bp->extend ) ) { 
  5. $bp->extend = new StdClass(); 
  6.  
  7. $bp->extend->avatar_suggestions = Avatar_Suggestions::start();