https://codex.wordpress.org/Function_Reference/wp_editor
The second argument for the wp_editor() function is editor ID
In the above for loop – all of the editors had the same ID
Changing
<?php wp_editor( wp_kses_post( $benz_tab_content ), 'benz_tab_content', $settings ); ?>
to
<?php wp_editor( wp_kses_post( $benz_tab_content ), "benz_tab_content_$y", $settings ); ?>
allowed me to give each editor a unique ID — per the counting variable.
The editors ( as many as needed ) are loading fine now.
Going to leave this up to help anyone else looking to dynamically create wp_editor()
fields based on a counting loop
Related Posts:
- How do I display and edit other posts within the ‘Edit Post’ area of Wp-Admin Dashboard
- How can I add an image upload field directly to a custom write panel?
- Adding Custom Text Patterns in the WP 4.5 Visual Editor
- Plugin API for easy admin list table generation, handling & exporting of MySQL tables?
- Export data as CSV in back end with proper HTTP headers
- Completely remove WP_Admin_Bar for specific user roles
- API to trigger prompt on leaving page
- Show message on wordpress admin dashboard
- Load visual editor without custom styling
- Hook the Keydown Event in the TinyMCE Post Editor
- Is it possible to add an admin page using add_submenu_page() and pass a var in the query string?
- how to use thickbox in admin?
- How do you create a custom edit.php / edit pages page
- Add a jQuery function to admin pages
- Is it save to require plugin.php early to be able to use get_plugin_data() earlier?
- WP Cron doesn’t save or in post body
- Create a clickable name in WP_List_Table for Plugin Admin
- Filters ‘request’ and ‘parse_query’ not firing in sites.php nor link-manager.php
- URLs of plugin resources?
- Problems with removing admin bar
- Check if I am in the Admin Panel (wp-admin)?
- How to put placeholder text in the main post input area?
- How to load the plugin only when logged in?
- Backslashes being stripped from CSS
- How to redirect to action on custom page within admin section
- WP AJAX is not working, always returns 0
- Add notification bubble notice in navigation using transients
- Can I individually style items in the backend widget list?
- How to run a external JavaScript file on wp-admin if admin, and other if normal user?
- add a class when login
- Where should I put “run once” plugin pages?
- Using the default wordpress uploader inside plugin
- Issue plugin commands in admin settings page
- Any problem in using native jquery ajax style instead of using admin-ajax.php?
- maintaing consistent layout wordpress dashboard
- Replacing Scripts in Admin Load_Scripts
- Programmatically modify an admin page UI of a WordPress site from my WordPress plugin
- Problems with: manage_${post_type}_posts_columns
- Global State During an Admin Post
- WP_Editor – Saving Value into Plugin Option – Stripping HTML
- Render content after post title in wp-admin
- On cliking add new post redirect user to a custom page first
- What should happen when a WordPress Plugin is activated across the network (Network Wide Activation)
- Append wp_editor to Dynamically created textarea
- Prevent third party plugin’s admin page access based on user type
- WP Editor Issue in Backend
- How to add WordPress Admin “Insert Link” UI (searches through existing posts for URL) and functionality into a custom plugin?
- Is it possible to restrict all admin pages except theme customisation and storefront using plugin?
- Password field is empty when using wp_signon();
- Using ReactJS in the WordPress admin for plugin development
- template_redirect or admin-ajax.php?
- Creating Admin Plugin – Content of a page is displayed at global scope as well
- tinymce.get() returns error after ajax request
- How to load library scripts in admin from plugins in noConflict wrapper?
- Show error message after exception handled
- Issue with contextual help overwriting existing content
- Enqueue script globally
- Alternatives to DISALLOW_FILE_EDIT wp-config Constant? It Breaks Some Plugins
- wp_editor add media button not working
- How do I link to a php file in my plugin directory?
- WordPress Admin Login Custom Logo
- How to create custom settings page for custom plugin
- Wp-admin Custom User Management
- Filter for admin (back end) ‘reply to’ comment
- Catching Form Submission in WordPress Admin Panel
- Redirect in WordPress plugin
- How to add custom view links to wp-admin/post.php?
- how to save wp_editor html content in options table
- jQuery UI tab does not work in the plugin page
- Best practice for plugin: always detect admin-ajax call?
- How do I force a download in the admin area?
- Submit form to a different PHP file in the same plugin folder
- Remove Permalink Meta Box not working?
- How do I duplicate a single post, with all its properties, and save it as a different post?
- Remove Meta-boxes (Yoast SEO plugin) [duplicate]
- How to add text editor in plugin menu?
- Get cat parameter from admin-ajax
- check_admin_referer()
- How to make an admin plugin menu page go full screen?
- Adding the image selector/uploader to an admin back page
- Add New Button in Admin Panel
- I cant add is_admin control to plugin
- 400 Bad Request and illegal invocation in wp_ajax based on processData set to false or true
- Change Label of custom post type
- wp_editor embed shortcode not working within my plugin
- Stop unauthorised file access
- Redirect with message after admin_post.php
- How to fetch the post content from the wordpress editor before it can be saved(published)?
- How to display properly exception or echo string after posting in plugin?
- Get (eventual) permalink from post within Edit Post in Admin panel
- Plugin dev: How to multiply instances of a plugin in the same metabox?
- How to add conent (text) to Add New pages form of admin in WordPress
- Issue with iframe in TinyMCE
- Forcing ALL plugin Admin menus into a separate menu
- Post data in wp-admin to external database
- admin page passing $_POST variables to itself
- modify buddpress adminbar only in admin pages
- Loading jQuery library from WordPress admin
- How to change the headline title for an admin page in a plugin?
- How to prepend a header section to all pages related to my WordPress Plugin