bbp_get_reply_revision_count( int $reply_id, boolean $integer = false )
Return the revision count of the reply
Description
Parameters
- $reply_id
-
(Optional) Reply id
- $integer
-
(Optional) Whether or not to format the result
Default value: false
Return
(string) reply revision count
Source
File: bp-forums/replies/template.php
895 896 897 898 899 900 | function bbp_get_reply_revision_count( $reply_id = 0, $integer = false ) { $count = (int) count ( bbp_get_reply_revisions( $reply_id ) ); $filter = ( true === $integer ) ? 'bbp_get_reply_revision_count_int' : 'bbp_get_reply_revision_count' ; return apply_filters( $filter , $count , $reply_id ); } |
Changelog
Version | Description |
---|---|
bbPress (r2782) | 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.