There was an error while loading. Please reload this page.
Filters the URL used for following an ActivityPub actor.
/** * Filters the URL used for following an ActivityPub actor. * * @param string $redirect_url * @param string $uri * @param array $object * @param string $intent * @return string The filtered value. */ function my_activitypub_interactions_follow_url_callback( string $redirect_url, string $uri, array $object, string $intent ) { // Your code here. return $redirect_url; } add_filter( 'activitypub_interactions_follow_url', 'my_activitypub_interactions_follow_url_callback', 10, 4 );
string
$redirect_url
$uri
array
$object
$intent
\apply_filters( 'activitypub_interactions_follow_url', $redirect_url, $uri, $object, $intent )
← All Hooks