Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change pagination labels in english


  • r1lita
    Participant

    @r1lita

    Hello,

    I’d like to change the pagination labels of Buddypress (Viewing 1 – 15 of 15 active members), for example changing ‘members’ to another string. How can I do so without editing BP core files?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)

  • mohdumar1654
    Participant

    @mohdumar1654

    @r1lita Try using this,

    add_filter( 'bp_members_pagination_count', 'modify_members_listing_pagination_string' );
    
    function modify_members_listing_pagination_string( $pag ) {
       // $pag = 'Custom string';
       return $pag;
    }

    r1lita
    Participant

    @r1lita

    @mohdumar1654 Thanks, it worked as I wanted 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar