Skip to content

atmosphere_register_reactions_block

github-actions[bot] edited this page Jun 19, 2026 · 1 revision

Filters whether to register the Bluesky reactions block.

Defaults to false when the ActivityPub plugin is active, since it already renders these reactions. Return true to force the block on regardless, or false to suppress it.

Auto-generated Example

/**
 * Filters whether to register the Bluesky reactions block.
 * 
 * Defaults to false when the ActivityPub plugin is active, since it
 * already renders these reactions. Return true to force the block on
 * regardless, or false to suppress it.
 *
 * @param bool $register 
 * @return bool The filtered value.
 */
function my_atmosphere_register_reactions_block_callback( bool $register ) {
    // Your code here.
    return $register;
}
add_filter( 'atmosphere_register_reactions_block', 'my_atmosphere_register_reactions_block_callback' );

Parameters

  • bool $register Whether to register the reactions block.

Files

\apply_filters( 'atmosphere_register_reactions_block', $register )

← All Hooks

Clone this wiki locally