Skip to content

activitypub_max_remote_recipient_fetches

github-actions[bot] edited this page Apr 28, 2026 · 1 revision

Filters the maximum number of remote recipient URLs that can be fetched per incoming activity.

Auto-generated Example

/**
 * Filters the maximum number of remote recipient URLs that can be
 * fetched per incoming activity.
 *
 * @param int $max_remote_fetches 
 * @return int The filtered value.
 */
function my_activitypub_max_remote_recipient_fetches_callback( int $max_remote_fetches ) {
    // Your code here.
    return $max_remote_fetches;
}
add_filter( 'activitypub_max_remote_recipient_fetches', 'my_activitypub_max_remote_recipient_fetches_callback' );

Parameters

  • int $max_remote_fetches Maximum number of remote fetches. Default 10.

Files

\apply_filters( 'activitypub_max_remote_recipient_fetches', 10 )

← All Hooks

Users

Developers

Clone this wiki locally