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
- Change custom post type slug from plugin options
- Custom Post Types. Are there any disadvantages/advantages in using a plugin to develop them?
- Get posts between custom dates
- How to implement a Google map store locator
- Can’t edit custom post type
- Deleting Custom Posts & Meta Data on Uninstall
- Widget: Custom Post Type Post Listing Dropdown on Admin Side
- Post image in WordPress not appearing on home page
- How do I create an archive page as a including metadata?
- Set URL link to featured image of custom post type
- Change CPT archive title
- AJAX load more for different custom post type loops
- PHP variable not regenerating when publishing multiple posts at the same time
- changing meta value and meta key of price field
- Posting to a Custom Post Type from front end – user generated content
- On update or create post redirect to current post position in list
- I need to add endpoint for wordpress categories
- Update Post Meta for a logged in user
- Getting meta in editor plugin, and event triggering issue
- How to duplicate entire custom post type
- A better way to add a meta box to custom post types
- Restrict Access to Posts based on Custom User and Post Meta Data
- How to target a specific custom post type post and its all children and grandchildren?
- Featured image overlay when changing post status
- Two Custom Post Types Many to Many Relationship
- Should wp_postmeta meta_key always be unique for a given post_id?
- Redirect 404 page with ID in slug to associated page with same ID in slug
- WordPress wrapped added a span tag to every single p tag
- ACF field key/value to show on taxonomy list
- Re-registering a custom post type not working (not showing up)
- Display featured image from one CPT within another CPT query
- how can I register a post_meta field in an existing CPT and then call it again with get_post_custom()?
- get_post_meta returning no value in custom post type alert email
- Query taxonomy of taxonomy of custom post type
- Best way to style first post differently?
- How to make custom posts types display when published for the future
- post meta parameter in post custom-post-type endpoint with restapi
- How do I set all of a particular post meta to a value within the custom post type I’m in?
- How to rewrite url for any specific taxonomy?
- create a new page from a custom post type similar to an authors page
- CPT archive admin menu label
- Anon function and add_meta_box
- Update postmeta Parent when post_status child change
- Metabox not show in categories custom post type cmb2
- WordPress request fiter order by related post’s post_title
- Hide a widget inside a div on specific type of post
- Shortcode not working with post counter
- Changing default ‘posts’ parameters with register_post_type_args
- Update database from Quick Edit according to Checkbox state of Custom Post Type
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- Storing a many to many post type relationship in post meta and keeping SQL ability for Joins
- Dynamic Custom Fields
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Show Custom Post Type meta boxes only on Page Edit
- Cannot save CPT meta box
- Allow users to create posts without logging in?
- How to change permalink to include custom post type
- Custom filter function not working with Custom post type
- Configuring a meta query with multiple post types that have the same relationship on a single page
- Add term to custom post type on draft
- How to assign classes to all elements?
- next_/previous_post_link() `in_same_category` appears to fail when true
- Importing Data from a Non-WordPress database, into WP
- Getting thumbnails of a custom posts featured images in a page-templates metabox
- Want to be able to sign up subscribers as authors
- List Taxonomies: Don’t list taxonomy if it has no post – depending on custom post-meta?
- Remove Post Custom Meta Box
- Load scripts based on post type
- Can’t publish custom post type – “You are not allowed to edit this post.”
- Different Category system needed for the Custom Post Type
- Custom fields for custom post type
- Show future events based on custom field AND order by date
- Global custom meta box
- Template not working for the custom Post type
- Meta Data for Custom Post Type not saving
- Using preg_replace to filter custom textarea
- Warning: Invalid argument supplied for foreach() [closed]
- Custom post type isn’t working
- Meta-Boxes for CustomPostType cause PHP Errors and Notices in “Add New” view
- categories should be available across all custom post types
- Check if post with same meta value exists
- Filter date from post meta when date is in string format
- Warning: Invalid argument supplied for foreach() in post.php [closed]
- Featured Image field not appearing in Custom post type
- Get only used meta_values
- If Post Meta Equals Current Title Conditional Advanced Custom Fields
- Post-thumbnail only for specific post-types?
- custom post type metaboxes not saving
- Custom Post Type & Custom Menu Walker to append custom class for active post types
- Is there a way to exclude posts based on meta_values?
- Enable taxonomies by post type in an array of CPTs
- Do posts, pages and / or custom post type objects have unique ID numbers or can there be multiple objects with the same IDs?
- PHP question: how to combine syntax?