wpml_object_id

Returns an element’s ID in the current language or in another specified language. By default, WPML automatically adjusts IDs to display all theme elements in the current language. This setting is turned “on” by default under the WPML → Languages page. But, if you’re building your own theme from scratch, use the wpml_object_id function to … Continue reading wpml_object_id