Handle async requests Run a queue, and maybe dispatch another async request to run another queue if there are still pending actions after completing a queue in this request.
'Async Request'
Sortie :
// Ajouter une fonction au hook action 'action_scheduler_run_queue'
add_action('action_scheduler_run_queue', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee('Async Request') {
// Votre code ici
error_log('Hook action_scheduler_run_queue déclenché');
}
Chargement des actualités...