bp_avatar_cropper

Output the avatar cropper markup.

Description

bp_avatar_cropper(); 

No longer used in BuddyPress.


Usage

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

Defined (1)

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

/bp-core/bp-core-template.php  
  1. function bp_avatar_cropper() { 
  2. ?> 
  3. <img id="avatar-to-crop" class="avatar" src="<?php echo esc_url(buddypress)->avatar_admin->image ); ?>" /> 
  4. <?php