Title: Modify when the webhook is delivered
Last modified: August 7, 2018

---

# Modify when the webhook is delivered

 *  Resolved [separovich](https://wordpress.org/support/users/separovich/)
 * (@separovich)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/modify-when-the-webhook-is-processed/)
 * I am improving my integration with the ERP, and we use webhook to register orders
   and products.
    But the hooks are being delivered in background around 00:20 am,
   I need to deliver it in real time, or every 5 minutos(something like this). I
   found some functions in “wc-webhook-functions.php” and “class-wc-webhook.php”,
   but i don’t know how to change it to be deliver immediately. Can Someone help
   me with it?
 * —
    Estou melhorando minha integração com o ERP, e uso as Webhooks para registrar
   Pedidos e Produtos. Mas as webhooks estão sendo enviadas em segundo plano em 
   torno das 00:20, mas preciso que seja enviado imediatamente, ou mais frequentemente,
   tipo de 5 em 5 minutos ou algo parecido. Achei algumas funções em “wc-webhook-
   functions.php” e “class-wc-webhook.php”, mas não sei como fazer para enviá-las
   imediatamente. Alguém consegue me ajudar?
    -  This topic was modified 7 years, 9 months ago by [separovich](https://wordpress.org/support/users/separovich/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmodify-when-the-webhook-is-processed%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [separovich](https://wordpress.org/support/users/separovich/)
 * (@separovich)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/modify-when-the-webhook-is-processed/#post-10572660)
 * I solved it adding this filter:
 *     ```
       add_filter('woocommerce_webhook_deliver_async','do_not_async_webhook');
       function do_not_async_webhook(){
               return False;}
       ```
   
 * It was very simple 😀

Viewing 1 replies (of 1 total)

The topic ‘Modify when the webhook is delivered’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [background](https://wordpress.org/support/topic-tag/background/)
 * [webhook](https://wordpress.org/support/topic-tag/webhook/)

 * 1 reply
 * 1 participant
 * Last reply from: [separovich](https://wordpress.org/support/users/separovich/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/modify-when-the-webhook-is-processed/#post-10572660)
 * Status: resolved