Changeset 6922 for trunk/src/includes/topics/template.php
- Timestamp:
- 11/07/2019 07:40:16 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/topics/template.php
r6921 r6922 1056 1056 1057 1057 /** 1058 * Return array of public topic statuses.1059 *1060 * @since 2.6.0 bbPress (r6383)1061 *1062 * @return array1063 */1064 function bbp_get_public_topic_statuses() {1065 $statuses = array(1066 bbp_get_public_status_id(),1067 bbp_get_closed_status_id()1068 );1069 1070 // Filter & return1071 return (array) apply_filters( 'bbp_get_public_topic_statuses', $statuses );1072 }1073 1074 /**1075 * Return array of non-public topic statuses.1076 *1077 * @since 2.6.0 bbPress (r6642)1078 *1079 * @return array1080 */1081 function bbp_get_non_public_topic_statuses() {1082 $statuses = array(1083 bbp_get_trash_status_id(),1084 bbp_get_spam_status_id(),1085 bbp_get_pending_status_id()1086 );1087 1088 // Filter & return1089 return (array) apply_filters( 'bbp_get_non_public_topic_statuses', $statuses );1090 }1091 1092 /**1093 1058 * Is the topic closed to new replies? 1094 1059 *
Note: See TracChangeset
for help on using the changeset viewer.