bbp_get_reply_content( int $reply_id )
Return the content of the reply
Description Description
Parameters Parameters
- $reply_id
-
(Optional) reply id
Return Return
(string) Content of the reply
Source Source
File: includes/replies/template.php
function bbp_get_reply_content( $reply_id = 0 ) { $reply_id = bbp_get_reply_id( $reply_id ); // Check if password is required if ( post_password_required( $reply_id ) ) { return get_the_password_form(); } $content = get_post_field( 'post_content', $reply_id ); // Filter & return return apply_filters( 'bbp_get_reply_content', $content, $reply_id ); }
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |