Synchronizing custom fields
-
I try to use the code
add_filter('pll_copy_post_metas', 'copy_post_metas'); function copy_post_metas($metas) { return array_merge($metas, array('wpcf-visa-ecodesign-etikett-1')); }
to synchronize some custom fields through the languages. I get it to work on new posts but not on the post that is already created.
Do I have to do something for it to work on already created posts?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Synchronizing custom fields’ is closed to new replies.