Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to change message in Friends widget


  • richdal
    Participant

    @richdal

    What’s the best way to change up the ‘Sorry, no members were found.’ message. Looked like it was getting generated in this file, but wasn’t sure how to modify that in my theme’s functions.php file? Not familiar with _e(). Wanted to include a link to Members.

    /wp-content/plugins/buddypress/bp-friends/classes/class-bp-core-friends-widget.php

    
    <div class="widget-error">
            <?php _e( 'Sorry, no members were found.', 'buddypress' ); ?>
    </div>
    
  • You must be logged in to reply to this topic.
Skip to toolbar