Skip to content

activitypub_json_context

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

Filters the ActivityPub JSON-LD context.

This filter allows developers to modify or extend the JSON-LD context used in ActivityPub responses. The context defines the vocabulary and terms used in the ActivityPub JSON objects.

Auto-generated Example

add_filter(
    'activitypub_json_context',
    function ( array $context ) {
        // Your code here
        return $context;
    }
);

Parameters

  • array $context The default ActivityPub JSON-LD context array.

Files

\apply_filters( 'activitypub_json_context', $context )

Hooks

Users

Developers

Clone this wiki locally