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 );plugins/riff/features/listen/class-browse.phpView on GitHub
Changelog
| Version | Description |
|---|---|
| 6.4.0 | Introduced. |