Timeline for Translate custom order status through a filter?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 10, 2016 at 21:30 | comment | added | bluantinoo | I tried changing filter priority just like you suggested, but it's not translating. How to var_dump in a filter function? | |
Jan 6, 2016 at 4:30 | comment | added | Pieter Goosen |
Have you tried changing the priority of 10 to something like 11 or 999 , and are your values what you expect them to be. Do var_dump($name) and var_dump($slug) to check your values. If this does not help, file an edit with all updated info
|
|
Jan 5, 2016 at 11:22 | comment | added | bluantinoo | Hi Pieter, I'm sorry I mess up with variable names when inserting the code here in the question. Problem is that even returning the right variable, filter is still not working. PS: should I edit the question with the right variable or not? | |
Jan 4, 2016 at 18:58 | history | answered | Pieter Goosen | CC BY-SA 3.0 |