Wordpress DB on Active Record