Action: ep_index_batch_new_attempt

do_action( 'ep_index_batch_new_attempt', $attempts, $total_attempts )

Fires before each attempt of indexing objects

Parameters:
Name Type Description
$attempts int

Current attempt

$total_attempts int

Total number of attempts

Source: