converted my functions to wordpress filters, doing it wp-style, yoloswag \m/