Skip to content

activitypub_should_negotiate_content

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

Filters whether content negotiation should be forced.

Auto-generated Example

add_filter(
   'activitypub_should_negotiate_content',
    'my_activitypub_should_negotiate_content_callback'
);

function my_activitypub_should_negotiate_content_callback( bool $return ) {
    // Your code here.
    return $return;
}

Parameters

  • bool $return Whether content negotiation should be forced.

Files

\apply_filters( 'activitypub_should_negotiate_content', $return )

← All Hooks

Users

Developers

Clone this wiki locally