Skip to content

activitypub_handled_quote_request

github-actions[bot] edited this page Sep 30, 2025 · 1 revision

Fires after an ActivityPub QuoteRequest activity has been handled.

Auto-generated Example

/**
 * 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 );

Parameters

  • 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.

Files

\do_action( 'activitypub_handled_quote_request', $activity, $user_id, $state, $content_policy )

← All Hooks

Users

Developers

Clone this wiki locally