Skip to:
Content

BuddyPress.org

Ticket #5938: bp-activity-cssjs-5938.diff

File bp-activity-cssjs-5938.diff, 890 bytes (added by tw2113, 10 years ago)

bp-activity-cssjs.php hook documentation

  • src/bp-activity/bp-activity-cssjs.php

     
    4141                wp_style_add_data( 'bp-mentions-css', 'suffix', $min );
    4242        }
    4343
    44         // Print a list of the current user's friends to the page for quicker @mentions lookups.
     44        /**
     45         * Fires at the end of the Activity Mentions script and prints list of current users' friends to the page for quicker @mentions lookups.
     46         *
     47         * @since BuddyPress (2.1.0)
     48         */
    4549        do_action( 'bp_activity_mentions_prime_results' );
    4650}
    4751add_action( 'bp_enqueue_scripts', 'bp_activity_mentions_script' );
    48 add_action( 'bp_admin_enqueue_scripts', 'bp_activity_mentions_script' );
    49  No newline at end of file
     52add_action( 'bp_admin_enqueue_scripts', 'bp_activity_mentions_script' );