-
Notifications
You must be signed in to change notification settings - Fork 83
activitypub_should_negotiate_content
github-actions[bot] edited this page Jul 29, 2025
·
9 revisions
Filters whether content negotiation should be forced.
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;
}-
bool$returnWhether content negotiation should be forced.
\apply_filters( 'activitypub_should_negotiate_content', $return )Follow @[email protected] for updates and news.