BP_Messages_Notices_List_Table::ajax_user_can()
Checks the current user’s permissions
Description
Source
File: bp-messages/classes/class-bp-messages-notices-list-table.php
public function ajax_user_can() { return bp_current_user_can( 'bp_moderate' ); }
Changelog
Version | Description |
---|---|
BuddyPress 3.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.