Check if the host's max execution time is (likely) to be exceeded if processing more actions.
$likely_to_be_exceeded, $this, $processed_actions, $execution_time, $max_execution_time
Sortie :
@param int $processed_actions The number of actions processed so far - used to determine the likelihood of exceeding the time limit if processing another action. @return bool
// Modifier la valeur avec le filtre 'action_scheduler_maximum_execution_time_likely_to_be_exceeded'
add_filter('action_scheduler_maximum_execution_time_likely_to_be_exceeded', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($likely_to_be_exceeded) {
// Modifier la valeur
return $likely_to_be_exceeded;
}
Chargement des actualités...