bp_core_profile_completion_steps_options()
Function will return the default fields groups and avatar/cover is enabled or not.
Description
Source
File: bp-core/bp-core-functions.php
5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 | function bp_core_profile_completion_steps_options() { /* Profile Groups and Profile Cover Photo VARS. */ $options = array (); $options [ 'profile_groups' ] = bp_xprofile_get_groups(); $options [ 'is_profile_photo_disabled' ] = bp_disable_avatar_uploads(); $options [ 'is_cover_photo_disabled' ] = bp_disable_cover_image_uploads(); /** * Filters will return the default fields groups and avatar/cover is enabled or not. * * @param array $options of default Profile Groups and Profile Cover/Photo enabled. * * @since BuddyBoss 1.5.4 */ return apply_filters( 'bp_core_profile_completion_steps_options' , $options ); } |
Changelog
Version | Description |
---|---|
BuddyBoss 1.5.4 | 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.