-
Notifications
You must be signed in to change notification settings - Fork 83
activitypub_handled_quote_request
github-actions[bot] edited this page Sep 30, 2025
·
1 revision
Fires after an ActivityPub QuoteRequest activity has been handled.
/**
* Fires after an ActivityPub QuoteRequest activity has been handled.
*
* @param array $activity
* @param int $user_id
* @param bool $success
* @param string $content_policy
* @return array The filtered value.
*/
function my_activitypub_handled_quote_request_callback( array $activity, int $user_id, 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
$activity
The ActivityPub activity data. -
int
$user_id
The local user ID. -
bool
$success
True on success, false otherwise. -
string
$content_policy
The content policy for the quoted post.
\do_action( 'activitypub_handled_quote_request', $activity, $user_id, $state, $content_policy )
Follow @[email protected] for updates and news.