bbp_reply_ancestor_id( int $reply_id )

Output the reply’s ancestor reply id

Description

Parameters

$reply_id

(int) (Optional) Reply id

Source

File: bp-forums/replies/template.php

function bbp_reply_ancestor_id( $reply_id = 0 ) {
	echo bbp_get_reply_ancestor_id( $reply_id );
}

Changelog

Changelog
Version Description
bbPress (r4944) 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.