-
Notifications
You must be signed in to change notification settings - Fork 7
mastodon_api_mapback_user_id
Alex Kirk edited this page Feb 8, 2025
·
4 revisions
Map back a public id to the previous user id.
add_filter(
'mastodon_api_mapback_user_id',
function ( int $user_id ) {
// Your code here
return $user_id;
}
);
-
int
$user_id
The public user ID.
int
The potentially modified user ID.
apply_filters( 'mastodon_api_mapback_user_id', $request->get_param( 'user_id' ) )