Filters priority
-
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)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Filters priority’ is closed to new replies.