bp_is_search_photos_enable( $default )

Checks if photos search is enabled.

Description

Parameters

$default

(Required) integer

Return

(bool) Is media search enabled or not

Source

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

function bp_is_search_photos_enable( $default = 0 ) {
	return (bool) apply_filters( 'bp_is_search_photos_enable', (bool) get_option( 'bp_search_photos', $default ) );
}

Changelog

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