bp_nouveau_groups_messages_enqueue_scripts()

Enqueue the groups scripts

Description

Source

File: bp-templates/bp-nouveau/includes/groups/functions.php

function bp_nouveau_groups_messages_enqueue_scripts() {

	if ( false === bp_disable_group_messages() ) {
		return;
	}

	if ( bp_is_group_messages() ) {
		wp_enqueue_script( 'bp-select2' );
		wp_enqueue_script( 'bp-medium-editor' );
		wp_enqueue_style( 'bp-medium-editor' );
		wp_enqueue_style( 'bp-medium-editor-beagle' );
		wp_enqueue_script( 'bp-nouveau-group-messages' );
	}
}

Changelog

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