Skip to content

activitypub_interactions_reply_url

github-actions[bot] edited this page Jul 30, 2025 · 4 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.

Auto-generated Example

function my_activitypub_interactions_reply_url_callback( string $redirect_url, string $uri, array $object ) {
    // Your code here.
    return $redirect_url;
}
add_filter( 'activitypub_interactions_reply_url', 'my_activitypub_interactions_reply_url_callback', 10, 3 );

Parameters

  • 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.

Files

\apply_filters( 'activitypub_interactions_reply_url', $redirect_url, $uri, $object )

← All Hooks

Users

Developers

Clone this wiki locally