/** * Render the "Custom tags" field. * * @param array $tags The custom tags to be posted. */ public function custom_tags_render($tags) { WP2D_Helpers::arr_to_str($tags); ?> <label title="<?php esc_attr_e('Custom tags to add to this post when it\'s posted to diaspora*.', 'wp-to-diaspora'); ?> "> <?php esc_html_e('Custom tags', 'wp-to-diaspora'); ?> <input type="text" class="wp2dtags" name="wp_to_diaspora_settings[custom_tags]" value="<?php echo esc_attr($tags); ?> " class="widefat"> </label> <p class="description"><?php esc_html_e('Separate tags with commas'); ?> </p> <?php }