Changeset 13450 for trunk/src/bp-core/bp-core-caps.php
- Timestamp:
- 04/12/2023 10:12:37 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-caps.php
r13405 r13450 305 305 306 306 /** 307 * Callback function to inform whether current user can moderate the community. 308 * 309 * @since 12.0.0 310 * 311 * @return boolean True if current user can moderate the community. False otherwise. 312 */ 313 function bp_current_user_can_moderate() { 314 return bp_current_user_can( 'bp_moderate' ); 315 } 316 317 /** 307 318 * Check whether the specified user has a given capability on a given site. 308 319 *
Note: See TracChangeset
for help on using the changeset viewer.