set_language() and save_translations() stopped working?
-
In version 2.0.8 setting languages using code below works fine:
PLL()->model->post->set_language($post_FI, 'fi'); PLL()->model->post->set_language($post_EN, 'en'); PLL()->model->post->set_language($post_SV, 'sv'); PLL()->model->post->save_translations($post_FI, array('en' => $post_EN, 'sv' => $post_SV));
..but in 2.0.9 or 2.0.10 didn’t do anything. These three posts does not get language attributes at all. Is there something that I need to change in the syntax?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘set_language() and save_translations() stopped working?’ is closed to new replies.