Skip to content

activitypub_handled_undo

github-actions[bot] edited this page Jul 23, 2025 · 8 revisions

Fires after an "Undo" activity has been handled.

Auto-generated Example

add_action(
    'activitypub_handled_undo',
    function (
        array $activity,
        int $user_id = null,
        Activitypub\mixed $state
    ) {
        // Your code here
    },
    10,
    3
);

Parameters

  • array $activity The JSON "Undo" Activity.
  • int|null $user_id The ID of the user who initiated the "Undo" activity otherwise null.
  • Activitypub\mixed $state The state of the "Undo" activity.

Files

do_action( 'activitypub_handled_undo', $activity, $user_id, $state )

Hooks

Users

Developers

Clone this wiki locally