bp_get_the_topic_object_avatar

  • apply_filters( 'bp_get_the_topic_object_avatar', bp_core_fetch_avatar( array( 'item_id' => $forum_template->topic->object_id, 'type' => $type, 'object' => 'group', 'width' => $width, 'height' => $height, 'alt' => $alt ) ) )

    Source Reference:

    • Component: BuddyPress :: bp-forums
      File: /bp-forums/bp-forums-template.php :: Trac Source Line: 592
      			'type'   => 'thumb',
      			'width'  => false,
      			'height' => false,
      			'alt'    => __( 'Group logo for %s', 'buddypress' )
      		);
      
      		$r = wp_parse_args( $args, $defaults );
      		extract( $r, EXTR_SKIP );
      
      		return apply_filters( 'bp_get_the_topic_object_avatar', bp_core_fetch_avatar( array( 'item_id' => $forum_template->topic->object_id, 'type' => $type, 'object' => 'group', 'width' => $width, 'height' => $height, 'alt' => $alt ) ) );
      	}
      
      function bp_the_topic_last_poster_avatar( $args = '' ) {
      	echo bp_get_the_topic_last_poster_avatar( $args );
      }
      	function bp_get_the_topic_last_poster_avatar( $args = '' ) {
      		global $forum_template;
      
      		$defaults = array(
      			'type'   => 'thumb',
      

Comments are closed.