Skip to:
Content
Pages
Categories
Search
Top
Bottom

Overwrite / Change “me_slug” (Shortlink slug to redirect to logged-in user)


  • force73
    Participant

    @force73

    Hi everyone,

    we have two digit profil names and one of our users has the profil name “me” so no one else is able to see the profile of this user.

    Is there a way to overwrite the slug?

    Original-Code from BP:


    /**
    * Shortlink slug to redirect to logged-in user.
    *
    * The x.com/members/me/* url will redirect to x.com/members/{LOGGED_IN_USER_SLUG}/*
    *
    * @since 2.6.0
    *
    * @param string $slug Defaults to ‘me’.

  • You must be logged in to reply to this topic.
Skip to toolbar