get_translatable_documents(true); foreach($icl_post_types as $k=>$v){ if(!in_array($k, array('post','page'))){ $cposts[$k] = $v; } } foreach($cposts as $k=>$cpost){ if(!isset($sitepress_settings['custom_posts_sync_option'][$k])){ $cposts_sync_not_set[] = $cpost->labels->name; } } if(!empty($cposts_sync_not_set)){ $notice = '
'; $notice .= sprintf(__("You haven't set your synchronization preferences for these custom posts: %s. Default value was selected.", 'sitepress'), ''.join(', ', $cposts_sync_not_set) . ''); $notice .= '
'; $notice .= sprintf(__("You haven't set your synchronization preferences for these taxonomies: %s. Default value was selected.", 'sitepress'), ''.join(', ', $tax_sync_not_set) . ''); $notice .= '
|
admin_texts_to_translate as $option_name=>$option_value): ?>
render_option_writes($option_name, $option_value); ?>
|