Ok I think I might know how to use the filter ref function, I am still a bit noob at programming wordpress