-
Notifications
You must be signed in to change notification settings - Fork 83
activitypub_interactions_url
github-actions[bot] edited this page Jul 24, 2025
·
10 revisions
Filters the redirect URL.
This filter runs after the type-specific filters and allows for final modifications to the interaction URL regardless of the object type.
add_filter(
'activitypub_interactions_url',
function (
string $redirect_url,
string $uri,
array $object
) {
// Your code here
return $redirect_url;
},
10,
3
);-
string$redirect_urlThe URL to redirect to. -
string$uriThe URI of the object. -
array$objectThe object being interacted with.
\apply_filters( 'activitypub_interactions_url', $redirect_url, $uri, $object )Follow @[email protected] for updates and news.