Skip to content

activitypub_dispatcher_retry_error_codes

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

Filters the error codes that qualify for a retry.

Auto-generated Example

/**
 * Filters the error codes that qualify for a retry.
 *
 * @param Activitypub\int[] $retry_error_codes 
 * @return Activitypub\int[] The filtered value.
 */
function my_activitypub_dispatcher_retry_error_codes_callback( Activitypub\int[] $retry_error_codes ) {
    // Your code here.
    return $retry_error_codes;
}
add_filter( 'activitypub_dispatcher_retry_error_codes', 'my_activitypub_dispatcher_retry_error_codes_callback' );

Parameters

  • Activitypub\int[] $retry_error_codes The error codes. Default array( 408, 429, 500, 502, 503, 504 ).

Files

apply_filters( 'activitypub_dispatcher_retry_error_codes', array( 408, 429, 500, 502, 503, 504 ) )

← All Hooks

Users

Developers

Clone this wiki locally