This function has been deprecated. bbPress (r5119) instead.

bbp_get_reply_author( int $reply_id )

Deprecated. Use bbp_get_reply_author_display_name() instead.

Description

Return the author of the reply

Parameters

$reply_id

(Optional) Reply id

Return

(string) Author of reply

Source

File: bp-forums/replies/template.php

	function bbp_get_reply_author( $reply_id = 0 ) {
		$reply_id = bbp_get_reply_id( $reply_id );

		if ( !bbp_is_reply_anonymous( $reply_id ) ) {
			$author = get_the_author_meta( 'display_name', bbp_get_reply_author_id( $reply_id ) );
		} else {
			$author = get_post_meta( $reply_id, '_bbp_anonymous_name', true );
		}

		return apply_filters( 'bbp_get_reply_author', $author, $reply_id );
	}

Changelog

Changelog
Version Description
bbPress (r5119) bbPress (r5119)
bbPress (r2667) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.