bp_is_relevant_feed_enabled( bool $default = false )

Check whether relevant feed is enabled.

Description

Parameters

$default

(Optional) Fallback value if not found in the database. Default: false.

Default value: false

Return

(bool) True if Edit is enabled, otherwise false.

Source

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

function bp_is_relevant_feed_enabled( $default = false ){

	/**
	 * Filters whether or not relevant feed is enabled.
	 *
	 * @since BuddyBoss 1.5.5
	 *
	 * @param bool $value Whether or not relevant feed is enabled.
	 */

	return (bool) apply_filters( 'bp_is_relevant_feed_enabled', (bool) bp_get_option( '_bp_enable_relevant_feed', $default ) );
}

Changelog

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