-
Notifications
You must be signed in to change notification settings - Fork 83
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.
/**
* 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 );-
int$comment_idThe deleted comment ID. -
int$post_idThe post ID that was quoted. -
string$instrument_urlThe instrument URL (quote post). -
array$activity_objectThe QuoteRequest activity that was rejected.
\do_action( 'activitypub_quote_comment_deleted', $comment_id, $post_id, $instrument_url, $activity_object )Follow @[email protected] for updates and news.