messages_add_autocomplete_css()
Enqueue the CSS for messages autocomplete.
Description
Source
File: bp-messages/bp-messages-cssjs.php
function messages_add_autocomplete_css() { if ( bp_is_messages_component() && bp_is_current_action( 'compose' ) ) { $min = bp_core_get_minified_asset_suffix(); $url = buddypress()->plugin_url . 'bp-messages/css/'; wp_enqueue_style( 'bp-messages-autocomplete', "{$url}autocomplete/jquery.autocompletefb{$min}.css", array(), bp_get_version() ); wp_style_add_data( 'bp-messages-autocomplete', 'rtl', true ); if ( $min ) { wp_style_add_data( 'bp-messages-autocomplete', 'suffix', $min ); } wp_print_styles(); } }
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.