We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Filters the retry delay unit (in seconds).
Used to calculate exponential backoff: time() + (attempt * attempt * retry_delay_unit).
/** * Filters the retry delay unit (in seconds). * * Used to calculate exponential backoff: time() + (attempt * attempt * retry_delay_unit). * * @param int $retry_delay_unit * @return int The filtered value. */ function my_activitypub_dispatcher_retry_delay_callback( int $retry_delay_unit ) { // Your code here. return $retry_delay_unit; } add_filter( 'activitypub_dispatcher_retry_delay', 'my_activitypub_dispatcher_retry_delay_callback' );
int
$retry_delay_unit
\apply_filters( 'activitypub_dispatcher_retry_delay', HOUR_IN_SECONDS )
← All Hooks