-
Notifications
You must be signed in to change notification settings - Fork 83
activitypub_handled_move
github-actions[bot] edited this page Sep 24, 2025
·
1 revision
Fires after an ActivityPub Move activity has been handled.
/**
* Fires after an ActivityPub Move activity has been handled.
*
* @param array $activity
* @param int $user_id
* @param bool $success
* @param Activitypub\mixed $result
* @return array The filtered value.
*/
function my_activitypub_handled_move_callback( array $activity, int $user_id, bool $success, Activitypub\mixed $result ) {
// Your code here.
return $activity;
}
add_filter( 'activitypub_handled_move', 'my_activitypub_handled_move_callback', 10, 4 );
-
array
$activity
The ActivityPub activity data. -
int
$user_id
The local user ID, or null if not applicable. -
bool
$success
True on success, false otherwise. -
Activitypub\mixed
$result
The result of the operation (e.g., post ID, WP_Error, or status).
\do_action( 'activitypub_handled_move', $activity, $user_id, $success, $result )
Follow @[email protected] for updates and news.