Skip to content

activitypub_quote_comment_deleted

github-actions[bot] edited this page Nov 17, 2025 · 1 revision

Fires after a quote comment has been deleted and Reject activity sent.

Auto-generated Example

/**
 * Fires after a quote comment has been deleted and Reject activity sent.
 *
 * @param int    $comment_id 
 * @param int    $post_id 
 * @param string $instrument_url 
 * @param array  $activity_object 
 */
function my_activitypub_quote_comment_deleted_callback( int $comment_id, int $post_id, string $instrument_url, array $activity_object ) {
    // Your code here.
}
add_action( 'activitypub_quote_comment_deleted', 'my_activitypub_quote_comment_deleted_callback', 10, 4 );

Parameters

  • int $comment_id The deleted comment ID.
  • int $post_id The post ID that was quoted.
  • string $instrument_url The instrument URL (quote post).
  • array $activity_object The QuoteRequest activity that was rejected.

Files

\do_action( 'activitypub_quote_comment_deleted', $comment_id, $post_id, $instrument_url, $activity_object )

← All Hooks

Users

Developers

Clone this wiki locally