messages_add_autocomplete_css

Enqueue the CSS for messages autocomplete.

Description

messages_add_autocomplete_css(); 

Usage

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

Defined (1)

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

/bp-messages/bp-messages-cssjs.php  
  1. function messages_add_autocomplete_css() { 
  2. if ( bp_is_messages_component() && bp_is_current_action( 'compose' ) ) { 
  3. $url =buddypress)->plugin_url . 'bp-messages/css/'; 
  4.  
  5. wp_enqueue_style( 'bp-messages-autocomplete', "{$url}autocomplete/jquery.autocompletefb{$min}.css", array(), bp_get_version() ); 
  6.  
  7. wp_style_add_data( 'bp-messages-autocomplete', 'rtl', true ); 
  8. if ( $min ) { 
  9. wp_style_add_data( 'bp-messages-autocomplete', 'suffix', $min ); 
  10.