updated constant check to use a wp-wow constant