Skip to content

activitypub_interactions_url

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

Auto-generated Example

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

Parameters

  • string $redirect_url The URL to redirect to.
  • string $uri The URI of the object.
  • array $object The object being interacted with.

Files

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

← All Hooks

Users

Developers

Clone this wiki locally