[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
Roles and capabilities logic for the XProfile component.
File Size: | 95 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
bp_xprofile_map_meta_caps( $caps, $cap, $user_id, $args ) X-Ref |
Maps XProfile caps to built in WordPress caps. param: array $caps Capabilities for meta capability. param: string $cap Capability name. param: int $user_id User id. param: mixed $args Arguments. since: 1.6.0 return: array Actual capabilities for meta capability. |
bp_xprofile_grant_bp_xprofile_change_field_visibility_for_logged_out_users( $user_can, $user_id, $capability ) X-Ref |
Grant the 'bp_xprofile_change_field_visibility' cap to logged-out users. param: bool $user_can param: int $user_id param: string $capability since: 2.7.1 return: bool |
Generated: Sun Dec 22 01:00:54 2024 | Cross-referenced by PHPXref 0.7.1 |