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.


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
7.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.