apply_filters( 'bp_core_members_shortlink_slug', string $slug )

Shortlink slug to redirect to logged-in user.

Description

The x.com/members/me/_ url will redirect to x.com/members/{LOGGED_IN_USER_SLUG}/_

Parameters

$slug

(string) Defaults to 'me'.

Source

File: bp-core/bp-core-catchuri.php

Changelog

Changelog
Version Description
BuddyPress 2.6.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.