Conditional php command for WPML plugin