-
Notifications
You must be signed in to change notification settings - Fork 82
activitypub_pre_get_by_username
github-actions[bot] edited this page Jul 23, 2025
·
11 revisions
Filter the username before we do anything else.
add_filter(
'activitypub_pre_get_by_username',
function (
Activitypub\null $pre,
string $username
) {
// Your code here
return $pre;
},
10,
2
);
-
Activitypub\null
$pre
The pre-existing value. -
string
$username
The username.
apply_filters( 'activitypub_pre_get_by_username', null, $username )
Follow @[email protected] for updates and news.