for Wordpress class