-
Notifications
You must be signed in to change notification settings - Fork 83
activitypub_handled_quote_request
github-actions[bot] edited this page Oct 30, 2025
·
2 revisions
Fires after an ActivityPub QuoteRequest activity has been handled.
/**
* Fires after an ActivityPub QuoteRequest activity has been handled.
*
* @param array $activity
* @param Activitypub\int[] $user_ids
* @param bool $success
* @param string $content_policy
* @return array The filtered value.
*/
function my_activitypub_handled_quote_request_callback( array $activity, Activitypub\int[] $user_ids, bool $success, string $content_policy ) {
// Your code here.
return $activity;
}
add_filter( 'activitypub_handled_quote_request', 'my_activitypub_handled_quote_request_callback', 10, 4 );-
array$activityThe ActivityPub activity data. -
Activitypub\int[]$user_idsThe local user IDs. -
bool$successTrue on success, false otherwise. -
string$content_policyThe content policy for the quoted post.
\do_action( 'activitypub_handled_quote_request', $activity, (array) $user_ids, $state, $content_policy )Follow @activitypub.blog@activitypub.blog for updates and news.