Ok silly me…
I missed this crucial line: add_action( 'save_post', 'save_date_meta_box' );
It now seems to save the date values
Related Posts:
- post formats – how to switch meta boxes when changing format?
- Adding an assisting editor box to Post page
- Metabox Data not being saved [closed]
- Options to get my custom post type metadata via the WordPress API
- Add box with custom per-page properties
- add post meta front end edit
- I can not display meta value in extras.php and template-tags.php
- Check if any meta on the post has value then display content
- Get or set values in post meta
- I created a Custom Meta Box but it is not displaying the value on my post page
- update_post_meta() throws Uncaught error: Cannot create duplicate attribute
- Remove action of an external plugin after checking if custom post meta is set
- How we insert values into database using metabox WordPress?
- Post meta box data not saving
- Filtering Tabs in a Custom Post Type’s Edit Page
- Hide individual page title using checkbox in custom meta box?
- How do I retrieve the slug of the current page?
- Most efficient way to get posts with postmeta
- Get posts by meta value
- Explanation of update_post_(meta/term)_cache
- How to extract data from a post meta serialized array?
- Passing error/warning messages from a meta box to “admin_notices”
- Add “upload media” button in meta box field
- How to save an array with one metakey in postmeta?
- WordPress is stripping escape backslashes from JSON strings in post_meta
- How can I get the post ID from a WP_Query loop?
- Check if Post Title exists, Insert post if doesn’t, Add Incremental # to Meta if does
- What is the index [0] for on post meta fields?
- How to update_post_meta value as array
- Adding meta tag without plugin
- What’s the point of get_post_meta’s $single param?
- What is the different between an attachment in wp_posts and an attachment in wp_postmeta?
- How to edit a post meta data in a Gutenberg Block?
- Sanitizing integer input for update_post_meta
- Execute action after post is saved with all related post_meta records (data)
- Lack of composite indexes for meta tables
- How can I retrieve multiple get_post_meta values efficiently?
- Get a single post by a unique meta value
- if get_post_meta is empty do something
- How we get_post_meta without post id
- How get post id from meta value
- What is the code to get the download link for a product in WooCommerce?
- Safe to delete blank postmeta?
- Custom field metabox not showing in back-end
- advanced custom fields update_field for field type: Taxonomy
- update_post_meta not saving when value is zero
- Content hooks vs User hooks
- Meta compare with date (stored as string) not working
- How to hide meta box values from custom fields list?
- Trying to get custom post meta through Jetpack JSON API [closed]
- How to update/insert custom field(post meta) data with wordpress REST API?
- get registered metaboxes by post type or post ID
- How do I remove all the metaboxes for a custom post type?
- Restrict post edit/delete based on user ID and custom field
- get_post_meta returning empty string when data shows in the database
- publish_post action hook doesn’t give post_meta_data
- Remove WordPress.org Meta link
- Remove post meta keys
- How to access the post meta of a post that has just been published?
- Why time functions show invalid time zone when using ‘c’ time format?
- How to get meta box data to display on a page
- Save metabox with multiple checkbox array
- esc before saving or before displaying does it matter?
- Why is get_post_meta returning an array when I specify it as single?
- How to batch update post content with custom post meta value
- How to update/delete array in post meta value?
- How to get all term meta for a taxonomy – getting term_meta for taxonomy
- Add a meta description to home page?
- Get all posts from custom post type and insert in select input as metabox
- Detect meta value changes when post is updated (post_updated)
- delete unused postmeta
- Should I sanitize custom post meta if it is going to be escaped later?
- Add post meta based on another post meta value before publish post
- How do I retrieve multi-dimensional arrays from the wp_postmeta table, & display on a website?
- Check if meta key value already exists
- Front-end update_post_meta snippet displays white screen?
- Query between two meta values?
- Save both current and new version of post meta
- Get Advanced Custom Fields values before saving [closed]
- Give extra post-meta to RSS feeds
- How to get meta value in wp_attachment_metadata
- WP REST API “rest_no_route” when trying to update meta
- Clean up output added via wp_head()
- List posts under meta_value heading
- Create meta boxes that don’t show in custom fields
- Why am I getting an infinite loop with have_posts?
- get_post_meta – get a single value
- delete value 0 in post meta [closed]
- get_post_meta doesn’t work
- Can I safely delete a record, manually, in the wp postmeta table?
- How to store post meta in an array?
- What action hook updates post meta?
- Can’t translate the post meta data (Date) in another language
- get_post_meta / update_post_meta array
- adding a URL to a post meta
- Having trouble with custom post type / meta box
- How can I include meta box content when searching?
- update a post meta from a single table cell TablePress
- update custom post type meta from a shortcode
- Exclude a category from the filed under list