Skip to content

activitypub_interactions_follow_url

github-actions[bot] edited this page Aug 7, 2025 · 6 revisions

Filters the URL used for following an ActivityPub actor.

Auto-generated Example

add_filter(
   'activitypub_interactions_follow_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 actor to follow.
  • array $object The full actor object data.

Files

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

← All Hooks

Users

Developers

Clone this wiki locally