pp_local_avatars_install_buddypress_notice

The BP Local Avatars pp local avatars install buddypress notice function.

Description

pp_local_avatars_install_buddypress_notice(); 

Usage

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

Defined (1)

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

/loader.php  
  1. function pp_local_avatars_install_buddypress_notice() { 
  2. echo '<div id="message" class="error fade"><p style="line-height: 150%">'; 
  3. _e('BP Local Avatars requires the BuddyPress plugin. Please install BuddyPress or deactivate BP Local Avatars.'); 
  4. echo '</p></div>';