bp_messages_star_enqueue_scripts()

Enqueues the dashicons font.

Description

The dashicons font is used for the star / unstar icon.

Source

File: bp-messages/bp-messages-star.php

function bp_messages_star_enqueue_scripts() {
	if ( ! bp_is_user_messages() ) {
		return;
	}

	wp_enqueue_style( 'dashicons' );
}

Changelog

Changelog
Version Description
BuddyPress 2.3.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.