-
Notifications
You must be signed in to change notification settings - Fork 80
activitypub_use_authorized_fetch
github-actions[bot] edited this page Aug 29, 2025
·
13 revisions
Filters whether to use Authorized-Fetch.
/**
* Filters whether to use Authorized-Fetch.
*
* @param Activitypub\boolean $use_authorized_fetch
* @return Activitypub\boolean The filtered value.
*/
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.