wpml - wpml_object_id "return NULL if translation missing" not working -


i believe wpml filter not working , there no solution other wait bug fix. following code returns null despite translation existing post id 537:

$id = apply_filters( 'wpml_object_id', 537, 'post', false, 'en' ); var_dump($id); 

by counts, should return post id of translation. returns null. has had similar experiences? not run other plugins except acf.

https://wpml.org/wpml-hook/wpml_object_id/


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -