Skip to content

activitypub_json_pre

github-actions[bot] edited this page Aug 7, 2025 · 5 revisions

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

Auto-generated Example

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

Parameters

  • object $object The ActivityPub object.

Files

\do_action( 'activitypub_json_pre', $object )

← All Hooks

Users

Developers

Clone this wiki locally