bbp_favorites_permalink( int $user_id )

Output the link to the user’s favorites page (profile page)

Description

Parameters

$user_id

(int) (Optional) User id

Source

File: bp-forums/users/template.php

function bbp_favorites_permalink( $user_id = 0 ) {
	echo esc_url( bbp_get_favorites_permalink( $user_id ) );
}

Changelog

Changelog
Version Description
bbPress (r2652) 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.