apply_filters( 'bp_nouveau_current_user_can', int $value, string $capability )

Filters whether or not the current user can perform an action for BuddyPress Nouveau.

Description

Parameters

$value

Current logged in user ID.

$capability

Current capability being checked.

Source

File: bp-templates/bp-nouveau/includes/functions.php

Changelog

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.