Changeset 3501 for branches/plugin/bbp-includes/bbp-reply-template.php
- Timestamp:
- 09/09/2011 09:43:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-reply-template.php
r3492 r3501 697 697 698 698 /** 699 * Is the reply not spam or deleted? 700 * 701 * @since bbPress (r3496) 702 * 703 * @param int $reply_id Optional. Topic id 704 * @uses bbp_get_reply_id() To get the reply id 705 * @uses bbp_get_reply_status() To get the reply status 706 * @return bool True if published, false if not. 707 */ 708 function bbp_is_reply_published( $reply_id = 0 ) { 709 global $bbp; 710 711 $reply_status = bbp_get_reply_status( bbp_get_reply_id( $reply_id ) ); 712 return apply_filters( 'bbp_is_reply_published', 'publish' == $reply_status, $reply_id ); 713 } 714 715 /** 699 716 * Is the reply marked as spam? 700 717 *
Note: See TracChangeset
for help on using the changeset viewer.