-
Notifications
You must be signed in to change notification settings - Fork 82
activitypub_remote_get_timeout
github-actions[bot] edited this page Jul 29, 2025
·
10 revisions
Filters the timeout duration for remote GET requests in ActivityPub.
add_filter(
'activitypub_remote_get_timeout',
'my_activitypub_remote_get_timeout_callback'
);
function my_activitypub_remote_get_timeout_callback( int $timeout ) {
// Your code here.
return $timeout;
}
-
int
$timeout
The timeout value in seconds. Default 100 seconds.
\apply_filters( 'activitypub_remote_get_timeout', 100 )
Follow @[email protected] for updates and news.