BP_Admin_Setting_Friends::bp_admin_setting_callback_force_friendship_to_message()

Force users to be connected before sending a message to each other.

Description

Source

File: bp-core/admin/settings/bp-admin-setting-friends.php

	public function bp_admin_setting_callback_force_friendship_to_message() {
	?>
	    <input id="bp-force-friendship-to-message" name="bp-force-friendship-to-message" type="checkbox" value="1" <?php checked( bp_force_friendship_to_message( false ) ); ?> />
	    <label for="bp-force-friendship-to-message"><?php _e( 'Require users to be connected before they can message each other', 'buddyboss' ); ?></label>
	<?php
	}

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.