@since: BuddyPress 2.7.0 Change format of $args variable array.
Description
bp_current_user_can

Filters whether or not the current user has a given capability.

Source: bp-core/bp-core-caps.php:296