added support for WPCLI - wires up the filters when using WPCLI