-
Notifications
You must be signed in to change notification settings - Fork 82
activitypub_interactions_reply_url
github-actions[bot] edited this page Aug 7, 2025
·
9 revisions
Filters the URL used for replying to an ActivityPub object.
By default, this redirects to the WordPress post editor with the in_reply_to parameter set.
add_filter(
'activitypub_interactions_reply_url',
function(
string $redirect_url,
string $uri,
array $object
) {
// Your code here.
return $redirect_url;
},
10,
3
);
-
string
$redirect_url
The URL to redirect to. -
string
$uri
The URI of the object to reply to. -
array
$object
The full object data being replied to.
\apply_filters( 'activitypub_interactions_reply_url', $redirect_url, $uri, $object )
Follow @[email protected] for updates and news.