Plugin Directory

Changeset 2945299


Ignore:
Timestamp:
07/31/2023 09:15:11 AM (3 years ago)
Author:
bostateam
Message:

fixed sync orders

Location:
bosta-woocommerce
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bosta-woocommerce/tags/3.0.6/bosta-woocommerce.php

    r2945241 r2945299  
    576576
    577577add_filter('handle_bulk_actions-edit-shop_order', 'bosta_sync_handle', 10, 3);
    578 function bosta_sync_handle($redirect_to, $action, $order_ids, $page_num)
     578function bosta_sync_handle($redirect_to, $action, $order_ids, $page_num = 1)
    579579{
    580580    if ($action != 'sync_to_bosta' && $action != 'sync_cash_collection_orders') {
  • bosta-woocommerce/trunk/bosta-woocommerce.php

    r2945241 r2945299  
    576576
    577577add_filter('handle_bulk_actions-edit-shop_order', 'bosta_sync_handle', 10, 3);
    578 function bosta_sync_handle($redirect_to, $action, $order_ids, $page_num)
     578function bosta_sync_handle($redirect_to, $action, $order_ids, $page_num = 1)
    579579{
    580580    if ($action != 'sync_to_bosta' && $action != 'sync_cash_collection_orders') {
Note: See TracChangeset for help on using the changeset viewer.