Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • jgarate
    Participant

    @jgarate

    Ok, so I got this piece of code, but I don’t understand it perfectly:

    function bpcodex_rename_group_tabs() {
     
        if ( ! bp_is_group() ) {
            return;
        }
        
        buddypress()->groups->nav->edit_nav( array( ‘name’ => __( ‘Group Discussion’, ‘buddypress’ ) ), ‘forum’, bp_current_item() );
    }
    add_action( ‘bp_actions’, ‘bpcodex_rename_group_tabs’ );

    which is the old item (‘Group Discussion’?) and the new one (‘forum’?)? Am I changing from ‘Group Discussion’ to ‘forums’ or the other way round?


    jgarate
    Participant

    @jgarate

    ok, I know that article, but where do I add those pieces of code? where am I suppossed to add them?

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