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('<strong>BP Local Avatars</strong></a> requires the BuddyPress plugin. Please <a href="http://buddypress.org/download">install BuddyPress</a> first, or <a href="plugins.php">deactivate BP Local Avatars</a>.'); 
  4. echo '</p></div>';