-
Notifications
You must be signed in to change notification settings - Fork 84
activitypub_interactions_follow_url
github-actions[bot] edited this page Jul 29, 2025
·
10 revisions
Filters the URL used for following an ActivityPub actor.
add_filter(
'activitypub_interactions_follow_url',
'my_activitypub_interactions_follow_url_callback',
10,
3
);
function my_activitypub_interactions_follow_url_callback(
string $redirect_url,
string $uri,
array $object
) {
// Your code here.
return $redirect_url;
}-
string$redirect_urlThe URL to redirect to. -
string$uriThe URI of the actor to follow. -
array$objectThe full actor object data.
\apply_filters( 'activitypub_interactions_follow_url', $redirect_url, $uri, $object )Follow @activitypub.blog@activitypub.blog for updates and news.