bbp_author_display_name( int $post_id )
Output the author disylay-name of a topic or reply.
Description
Convenience function to ensure proper template functions are called and correct filters are executed. Used primarily to display topic and reply author information in the anonymous form template-part.
Parameters
- $post_id
-
(Required)
Source
File: bp-forums/users/template.php
function bbp_author_display_name( $post_id = 0 ) { echo bbp_get_author_display_name( $post_id ); }
Changelog
Version | Description |
---|---|
bbPress (r5119) | 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.