Skip to content

activitypub_handled_move

github-actions[bot] edited this page Oct 30, 2025 · 3 revisions

Fires after an ActivityPub Move activity has been handled.

Auto-generated Example

/**
 * Fires after an ActivityPub Move activity has been handled.
 *
 * @param array             $activity 
 * @param Activitypub\int[] $user_ids 
 * @param bool              $success 
 * @param Activitypub\mixed $result 
 * @return array The filtered value.
 */
function my_activitypub_handled_move_callback( array $activity, Activitypub\int[] $user_ids, bool $success, Activitypub\mixed $result ) {
    // Your code here.
    return $activity;
}
add_filter( 'activitypub_handled_move', 'my_activitypub_handled_move_callback', 10, 4 );

Parameters

  • array $activity The ActivityPub activity data.
  • Activitypub\int[] $user_ids The local user IDs.
  • bool $success True on success, false otherwise.
  • Activitypub\mixed $result The result of the operation (e.g., post ID, WP_Error, or status).

Files

\do_action( 'activitypub_handled_move', $activity, (array) $user_ids, $success, $result )

← All Hooks

Users

Developers

Clone this wiki locally