Changeset 6922 for trunk/src/includes/replies/template.php
- Timestamp:
- 11/07/2019 07:40:16 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/replies/template.php
r6903 r6922 829 829 830 830 /** 831 * Return array of public reply statuses.832 *833 * @since 2.6.0 bbPress (r6705)834 *835 * @return array836 */837 function bbp_get_public_reply_statuses() {838 $statuses = array(839 bbp_get_public_status_id()840 );841 842 // Filter & return843 return (array) apply_filters( 'bbp_get_public_reply_statuses', $statuses );844 }845 846 /**847 * Return array of non-public reply statuses.848 *849 * @since 2.6.0 bbPress (r6791)850 *851 * @return array852 */853 function bbp_get_non_public_reply_statuses() {854 $statuses = array(855 bbp_get_trash_status_id(),856 bbp_get_spam_status_id(),857 bbp_get_pending_status_id()858 );859 860 // Filter & return861 return (array) apply_filters( 'bbp_get_non_public_reply_statuses', $statuses );862 }863 864 /**865 831 * Is the reply publicly viewable? 866 832 *
Note: See TracChangeset
for help on using the changeset viewer.