Skip to content

activitypub_dispatcher_retry_max_attempts

github-actions[bot] edited this page Oct 23, 2025 · 1 revision

Filters the maximum number of retry attempts.

Auto-generated Example

/**
 * Filters the maximum number of retry attempts.
 *
 * @param int $retry_max_attempts 
 * @return int The filtered value.
 */
function my_activitypub_dispatcher_retry_max_attempts_callback( int $retry_max_attempts ) {
    // Your code here.
    return $retry_max_attempts;
}
add_filter( 'activitypub_dispatcher_retry_max_attempts', 'my_activitypub_dispatcher_retry_max_attempts_callback' );

Parameters

  • int $retry_max_attempts The maximum number of retry attempts. Default ACTIVITYPUB_OUTBOX_RETRY_MAX_ATTEMPTS.

Files

apply_filters( 'activitypub_dispatcher_retry_max_attempts', 3 )

← All Hooks

Users

Developers

Clone this wiki locally