-
Notifications
You must be signed in to change notification settings - Fork 81
activitypub_use_authorized_fetch
github-actions[bot] edited this page Jul 30, 2025
·
4 revisions
Filters whether to use Authorized-Fetch.
function my_activitypub_use_authorized_fetch_callback( Activitypub\boolean $use_authorized_fetch ) {
// Your code here.
return $use_authorized_fetch;
}
add_filter( 'activitypub_use_authorized_fetch', 'my_activitypub_use_authorized_fetch_callback' );
-
Activitypub\boolean
$use_authorized_fetch
True if Authorized-Fetch is enabled, false otherwise.
apply_filters( 'activitypub_use_authorized_fetch', $use )
Follow @[email protected] for updates and news.