• Hello,

    Thanks for this nice plugin !

    We have a little but very annoying issue related to the way you add filters in Alg_WC_Custom_Order_Statuses_Core.

    We noticed that you pass “PHP_INT_MAX” as priority on every “add_filter” call. This actually prevents any module from overriding the custom statuses added with your plugin.

    It may has been done “by design” but it is a huge dead end if ones need to conditionally hide some statuses.

    Could you change that to use a “big” int but not the “max” one ? Something like 99999 for example ?

    That would be very kind of you !
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @jbrizard,

    Ok, got it. We’ve just released new plugin version 1.3.4. There I’ve added “Advanced: Filters priority” option in plugin settings (in “WooCommerce > Settings > Custom Order Status”). If it’s set to zero, it will use the default value (i.e. PHP_INT_MAX), otherwise it will use the value you set.

    Hope that helps. Any feedback is highly appreciated.

    And if you like the plugin, please leave us a rating.

    Best regards,
    Tom

    Thread Starter jbrizard

    (@jbrizard)

    Fast and efficient ! Thanks a lot !

    Hi @jbrizard,

    Sure – happy to help. Please let me know if you need anything else.

    Best regards,
    Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Filters priority’ is closed to new replies.