bbp_admin_setting_callback_subscriptions()

Allow subscriptions setting field

Description

Source

File: bp-forums/admin/settings.php

function bbp_admin_setting_callback_subscriptions() {
?>

	<input name="_bbp_enable_subscriptions" id="_bbp_enable_subscriptions" type="checkbox" value="1" <?php checked( bbp_is_subscriptions_active( true ) ); bbp_maybe_admin_setting_disabled( '_bbp_enable_subscriptions' ); ?> />
	<label for="_bbp_enable_subscriptions"><?php esc_html_e( 'Allow users to subscribe to forums and discussions', 'buddyboss' ); ?></label>

<?php
}

Changelog

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