Changeset 11938 for trunk/src/bp-groups/bp-groups-template.php
- Timestamp:
- 04/02/2018 10:40:59 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-groups/bp-groups-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-template.php
r11896 r11938 470 470 * Is the group accessible to the currently logged-in user? 471 471 * Despite the name of the function, it has historically checked 472 * whether a user has access to a group. 473 * In BP 2.9, a property was added to the BP_Groups_Group class, 472 * whether a user has access to a group. 473 * In BP 2.9, a property was added to the BP_Groups_Group class, 474 474 * `is_visible`, that describes whether a user can know the group exists. 475 * If you wish to check that property, use the check: 475 * If you wish to check that property, use the check: 476 476 * bp_current_user_can( 'groups_see_group' ). 477 477 * … … 3220 3220 return true; 3221 3221 } 3222 3223 /**3224 * Output a 'New Topic' button for a group.3225 *3226 * @since 1.2.73227 * @deprecated 3.0.0 No longer used in core, but supported for third-party code.3228 *3229 * @param BP_Groups_Group|bool $group The BP Groups_Group object if passed, boolean false if not passed.3230 */3231 function bp_group_new_topic_button( $group = false ) {3232 }3233 3234 /**3235 * Return a 'New Topic' button for a group.3236 *3237 * @since 1.2.73238 * @deprecated 3.0.0 No longer used in core, but supported for third-party code.3239 *3240 * @param BP_Groups_Group|bool $group The BP Groups_Group object if passed, boolean false if not passed.3241 *3242 * @return false3243 */3244 function bp_get_group_new_topic_button( $group = false ) {3245 return false;3246 }3247 3222 3248 3223 /**
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)