bbp_is_subscriptions_active( $default = 1 )

Checks if subscription feature is enabled.

Description

Parameters

$default

(Optional) bool Optional.Default value true

Default value: 1

Return

(bool) Is subscription enabled or not

Source

File: bp-forums/core/options.php

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

Changelog

Changelog
Version Description
bbPress (r2658) 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.