bp_is_profile_albums_support_enabled( $default = 1 )

Checks if media profile albums support is enabled.

Description

Parameters

$default

(Optional) integer

Default value: 1

Return

(bool) Is media profile albums support enabled or not

Source

File: bp-media/bp-media-settings.php

function bp_is_profile_albums_support_enabled( $default = 1 ) {
	return (bool) apply_filters( 'bp_is_profile_albums_support_enabled', (bool) get_option( 'bp_media_profile_albums_support', $default ) );
}

Changelog

Changelog
Version Description
BuddyBoss 1.0.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.