apply_filters( 'bp_xprofile_map_meta_caps', array $caps, string $cap, int $user_id, mixed $args )

Filters the XProfile caps to built in WordPress caps.

Description

Parameters

$caps

Capabilities for meta capability.

$cap

Capability name.

$user_id

User ID being mapped.

$args

Capability arguments.

Source

File: bp-xprofile/bp-xprofile-caps.php

Changelog

Changelog
Version Description
BuddyPress 1.6.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.