Documented hooking into Wordpress and testing