Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • frenchWebMaster
    Participant

    @frenchwebmaster

    Thanks a lot, it works perfectly with :

    function bp_remove_pagination() {

    If ( ! is_user_logged_in() )
    return false;
    }
    add_filter( ‘bp_get_groups_pagination_links’, ‘bp_remove_pagination’ );


    frenchWebMaster
    Participant

    @frenchwebmaster

    Thank you for the links !

    My point is I want to override the method bp_groups_pagination_links which is in plugins/buddypress/bp-groups/bp-groups-template.php, I created a plugin in which I rewrite the function but when I try to access to my buddypress It says : “Fatal error: Cannot redeclare bp_groups_pagination_links() (previously declared in … ”

    How can I do ?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar