bp_nouveau_current_user_can( $capability = '' )
Description Description
Return Return
(bool)
Source Source
File: bp-templates/bp-nouveau/includes/functions.php
function bp_nouveau_current_user_can( $capability = '' ) {
/**
* Filters whether or not the current user can perform an action for BuddyPress Nouveau.
*
* @since 3.0.0
*
* @param bool $value Whether or not the user is logged in.
* @param string $capability Current capability being checked.
* @param int $value Current logged in user ID.
*/
return apply_filters( 'bp_nouveau_current_user_can', is_user_logged_in(), $capability, bp_loggedin_user_id() );
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |