Skip to content

atmosphere_reaction_synced

github-actions[bot] edited this page Jun 25, 2026 · 12 revisions

Fires after a Bluesky reaction is synced as a WordPress comment.

Auto-generated Example

/**
 * Fires after a Bluesky reaction is synced as a WordPress comment.
 *
 * @param int   $comment_id 
 * @param array $notification 
 * @param int   $post_id 
 * @param mixed $string 
 */
function my_atmosphere_reaction_synced_callback( int $comment_id, array $notification, int $post_id, string ) {
    // Your code here.
}
add_action( 'atmosphere_reaction_synced', 'my_atmosphere_reaction_synced_callback', 10, 4 );

Parameters

  • int $comment_id The new comment ID.
  • array $notification The raw notification or own-record.
  • int $post_id The WordPress post ID.
  • string $comment_type One of 'comment', 'like', 'repost'. Other variable names: $comment_type

Files

\do_action( 'atmosphere_reaction_synced', $comment_id, $notification, $post_id, $comment_type )

← All Hooks

Clone this wiki locally