You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actions[bot] edited this page Apr 15, 2026
·
2 revisions
Filters the timeout duration for remote POST requests in ActivityPub.
Auto-generated Example
/** * Filters the timeout duration for remote POST requests in ActivityPub. * * @param int $timeout * @return int The filtered value. */functionmy_activitypub_remote_post_timeout_callback( int$timeout ) {
// Your code here.return$timeout;
}
add_filter( 'activitypub_remote_post_timeout', 'my_activitypub_remote_post_timeout_callback' );
Parameters
int$timeout The timeout value in seconds. Default 10 seconds.