bp_messages_star_enqueue_scripts

Enqueues the dashicons font.

Description

bp_messages_star_enqueue_scripts(); 

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


Usage

  1. if ( !function_exists( 'bp_messages_star_enqueue_scripts' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-messages/bp-messages-star.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_messages_star_enqueue_scripts(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-messages/bp-messages-star.php  
  1. function bp_messages_star_enqueue_scripts() { 
  2. if ( ! bp_is_user_messages() ) { 
  3. return; 
  4.  
  5. wp_enqueue_style( 'dashicons' );