Skip to content

activitypub_remote_get_timeout

github-actions[bot] edited this page Sep 9, 2025 · 10 revisions

Filters the timeout duration for remote GET requests in ActivityPub.

Auto-generated Example

/**
 * Filters the timeout duration for remote GET requests in ActivityPub.
 *
 * @param int $timeout 
 * @return int The filtered value.
 */
function my_activitypub_remote_get_timeout_callback( int $timeout ) {
    // Your code here.
    return $timeout;
}
add_filter( 'activitypub_remote_get_timeout', 'my_activitypub_remote_get_timeout_callback' );

Parameters

  • int $timeout The timeout value in seconds. Default 100 seconds.

Files

\apply_filters( 'activitypub_remote_get_timeout', 100 )

← All Hooks

Users

Developers

Clone this wiki locally