integrates detector php lib with Wordpress.