Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
_bp_roles_init( WP_Roles $wp_roles )
Adds the bp_moderate
cap to Roles having the manage_options
cap when BuddyPress is not active on the network.
Description Description
Parameters Parameters
- $wp_roles
-
(Required) The WordPress roles object.
Source Source
File: bp-core/bp-core-caps.php
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Introduced. |