Skip to content

activitypub_remove_user_block

github-actions[bot] edited this page Aug 28, 2025 · 2 revisions

Fired when an actor is unblocked.

Auto-generated Example

/**
 * Fired when an actor is unblocked.
 *
 * @param string $value 
 * @param string $type 
 * @param int    $user_id 
 * @return string The filtered value.
 */
function my_activitypub_remove_user_block_callback( string $value, string $type, int $user_id ) {
    // Your code here.
    return $value;
}
add_filter( 'activitypub_remove_user_block', 'my_activitypub_remove_user_block_callback', 10, 3 );

Parameters

  • string $value The unblocked actor URI.
  • string $type The block type (actor, domain, keyword).
  • int $user_id The user ID.

Files

\do_action( 'activitypub_remove_user_block', $value, $type, $user_id )
\do_action( 'activitypub_remove_user_block', $value, Moderation::TYPE_ACTOR, $user_id )

← All Hooks

Users

Developers

Clone this wiki locally