Skip to content

activitypub_json_pre

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

Fires before an ActivityPub object is generated and sent to the client.

Auto-generated Example

add_filter(
    'activitypub_json_pre',
    function ( Activitypub\object $object ) {
        // Your code here
        return $object;
    }
);

Parameters

  • Activitypub\object $object The ActivityPub object.

Files

\do_action( 'activitypub_json_pre', $object )

Hooks

Users

Developers

Clone this wiki locally