apply_filters( 'riff_profile_url', string $url, \WP_User $user )

Filters where the Listen app's account menu sends a listener to edit their profile, for a host or a membership plugin with a profile page of its own.

Parameters

$urlstring
The address. Default get_edit_profile_url(), their profile in wp-admin.
$user\WP_User
The signed-in listener.

More Information

Usage

add_filter( 'riff_profile_url', function ( $url, $user ) {
	return $url;
}, 10, 2 );

Source

return (string) apply_filters( 'riff_profile_url', get_edit_profile_url( $user->ID ), $user );

Changelog

VersionDescription
6.4.0Introduced.