The second parameter on wp_editor is the “metabox” field id/default name and you need to put this in the “update_post_meta” for wordpress to know what to save or specify the correct textarea_name.
In display_educadme_related_resources() use:
$educadme_resources = get_post_meta($post->ID, 'related-editor', true);
And in save_educadme_related_resources() use:
update_post_meta($post->ID, "related-editor", $_POST["related-editor"]);
Related Posts:
- Detect meta value changes when post is updated (post_updated)
- Search everything (posts, pages, tags, cpt, meta)
- get_post_meta not working on publishing
- Custom attachment function not working in v5.4.2?
- Custom Function to redirect singular post if specific meta field is empty
- Stored meta from attachment, video length?
- Post AND page parameter for WP function
- How come Featured Image isn’t showing up in my Custom Post Type?
- Can the Next/Prev Post links be ordered by menu order or by a meta key?
- How to use a custom post type archive as front page?
- Set posts of a custom post type to be private by default?
- Custom Post type – how to get checkbox to update meta field to null
- clients list using wordpress
- Ordering posts having multiple post-meta date fields
- Date archives for custom post type
- How can I add dropdown widget/box to admin post page?
- Using Default WordPress Custom Header Image Crop Feature in a Post Type / MetaBox
- How to make custom post meta wp_editor translatable?
- Append taxonomy terms as class names in markup?
- Display only custom post type count for current author on the “At a Glance” dashboard widget
- update_post_meta() whenever custom post type is updated
- Formatting custom meta box date from YYYY/MM/DD to a more readable alternative
- How to best delete orphan wp_postmeta
- GravityForm: Populate Dropdown with custom post type [closed]
- How to retrieve category NAME instead of ID in a function with a taxonomy custom field?
- Replace title column in post list with post meta value
- WooCommerce product search titles only
- Notice: Undefined index: suppress_filters
- My theme saves their custom post type’s metadata as a serialized array, how to access the keys?
- Does WordPress limit the length of slug names for Post Meta or Terms?
- Custom Taxonomy Permalinks Redirection
- Add custom column in custom post type edit page
- Insert Multiple Post with Same Publish Button
- Undefined Variable – Custom Post Type Meta
- custom post type not showing in menu
- Post image in WordPress not appearing on home page
- Change CPT archive title
- changing meta value and meta key of price field
- Posting to a Custom Post Type from front end – user generated content
- I need to add endpoint for wordpress categories
- Getting meta in editor plugin, and event triggering issue
- Featured image overlay when changing post status
- Query taxonomy of taxonomy of custom post type
- Metabox not show in categories custom post type cmb2
- Hide a widget inside a div on specific type of post
- Custom fields for custom post type
- Show future events based on custom field AND order by date
- Global custom meta box
- Warning: Invalid argument supplied for foreach() [closed]
- Custom post type isn’t working
- custom post for slider
- Navigate posts with different post type that are in the same categories
- How to Echo Metadata Value in Currency Format
- Issue on Working with Metabox – Checkbox to enable Sale Items
- Show Custom Message in WordPress Admin
- Why do I have to press the “Update” button twice to save my meta box values?
- How exclude or skip post type with get_next_post_link
- Prevent A Specific Custom Post Type Showing In WP Search Results Page
- Create short URL with auto 301 redirect
- Is it possible to use array_walk() to append terms to an array of posts?
- WordPress notification if new post published
- Get current user id
- get_post_meta returns NULL in front-end, but correct result in back-end
- Meta box data is saved but NOT displayed in the meta box text field. Why?
- How to call a post’s metadata in shortcode.php?
- Custom posts – tag pagination
- Twitter Product Cards
- HM CMB: Post Select Field for CPT ID
- updating one custom meta field only
- Excerpt length: get first paragraph
- Problem Saving Custom Post Type Meta Values
- new post-type how do i retain the plugins on my sidebar?
- Custom Post Type Dashboard Tab not displaying any posts
- Title and URL Error in Breadcrumb Navigation for Custom Post Types
- Assigning categories to custom post types via a front-end form; only works for native post type
- Default excerpt for parent of a custom post type
- Move to trash custom post type post after ACF Date Picker date is older than today
- Load custom post type with ID in a shortcode
- add action save post type and update post meta woocommerce
- get_post_meta not working with variable as a post_id for dynamically get the postid
- Using get_post_type with a custom URL format?
- $_SESSION Not working after X amount of page views
- Add more custom fields when creating a new custom post type
- WordPress page not showing up – replaced with last 10 posts?
- Custom permalink rewrite rules – how do I fix this?
- Post that populates itself (almost) automatically using data from imported excel file
- Disable Facebook Comments Automatically On CPT
- Problem with ‘save_post’ hook not running
- WordPress custom post type
- Howto: use existing post_meta as options for a different metabox (checkboxes or list)
- send email to all registered users when post expires
- Change the contents of a dropdown through the admin panel?
- fetch meta fields inside a widget
- Allow authors to create article image
- Custom post type – update_meta not working
- Code in custom widget queries all posts, when it should only query the current post
- Use a Variable in update_post_meta as the $meta_key
- Comments are not working on Custom Post Type
- How to make a non-public post on wordpress approval?
- wordpress category form fields in popup