Thread Starter
ab16
(@ab16)
I believe the fix was how I was calling the add_filter as you mentioned first.
THanks!
Thread Starter
ab16
(@ab16)
Yes, it is within a class. I am also using your suggested code, that does make sense. After refreshing the permalinks everything redirects back to home page, including any posts or pages. Do you know why this would cause every link to break?