bp_core_avatar_title

  • apply_filters( 'bp_core_avatar_title', $title, $item_id, $object ) )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-avatars.php :: Trac Source Line: 161
      	elseif ( 'group' == $object )
      		$item_name = bp_get_group_name( new BP_Groups_Group( $item_id ) );
      	elseif ( 'blog' == $object )
      		$item_name = get_blog_option( $item_id, 'blogname' );
      
      	$alt = sprintf( $alt, apply_filters( 'bp_core_avatar_alt', $item_name, $item_id, $object ) );
      
      	// Set title tag
      	if ( $title )
      		$title = " title='" . esc_attr( apply_filters( 'bp_core_avatar_title', $title, $item_id, $object ) ) . "'";
      	elseif ( $item_name )
      		$title = " title='" . esc_attr( apply_filters( 'bp_core_avatar_title', $item_name, $item_id, $object ) ) . "'";
      
      	// Set CSS ID if passed
      	if ( !empty( $css_id ) )
      		$css_id = " id='{$css_id}'";
      
      	// Set avatar width
      	if ( $width )
      		$html_width = " width='{$width}'";
      
  • apply_filters( 'bp_core_avatar_title', $item_name, $item_id, $object ) )

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-avatars.php :: Trac Source Line: 163
      	elseif ( 'blog' == $object )
      		$item_name = get_blog_option( $item_id, 'blogname' );
      
      	$alt = sprintf( $alt, apply_filters( 'bp_core_avatar_alt', $item_name, $item_id, $object ) );
      
      	// Set title tag
      	if ( $title )
      		$title = " title='" . esc_attr( apply_filters( 'bp_core_avatar_title', $title, $item_id, $object ) ) . "'";
      	elseif ( $item_name )
      		$title = " title='" . esc_attr( apply_filters( 'bp_core_avatar_title', $item_name, $item_id, $object ) ) . "'";
      
      	// Set CSS ID if passed
      	if ( !empty( $css_id ) )
      		$css_id = " id='{$css_id}'";
      
      	// Set avatar width
      	if ( $width )
      		$html_width = " width='{$width}'";
      	else
      		$html_width = ( 'thumb' == $type ) ? ' width="' . bp_core_avatar_thumb_width() . '"' : ' width="' . bp_core_avatar_full_width() . '"';
      

Comments are closed.