Remove the hook at its priority, then add your own at the same place. Use the code (as you seem to have) implicitly and all should go well. Without knowing where the hook is added, you’ll want to check on that price as well (plugins_loaded, etc).
Remove the hook at its priority, then add your own at the same place. Use the code (as you seem to have) implicitly and all should go well. Without knowing where the hook is added, you’ll want to check on that price as well (plugins_loaded, etc).