Conditional php for WPML plugin