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.
Comments
Post a Comment