Post revisions are for the fields in the posts database table and not the postmeta database table.
So if you want to create your own postmeta revision you could save the meta when the revision is made using _wp_put_post_revision
and you can restore the meta using wp_restore_post_revision
.
Related Posts:
- Add filter menu to admin list of posts (of custom type) to filter posts by custom field values
- Using meta query (‘meta_query’) with a search query (‘s’)
- Add subtitle to Woocommerce product title
- ‘Preview Changes’ for custom meta boxes?
- Add metabox to document tab in gutenberg
- Advanced Custom Fields Validation
- When using add_post_meta and update_post_meta, is there any way to give the individual arrays keys?
- Change wp_get_attachment_image attributes (src and srcset) on specific custom field
- Custom user avatar in the WordPress users listing
- query_posts and only show results if a custom field is not empty
- User Profile / Add Custom Fields
- Convert jQuery Datepicker Format to SQL Date Format
- Only show metabox when date-value in other metabox is over?
- Is it possible to store arrays in a custom field?
- Bulk move (or copy) from a custom field to the post content?
- Populating meta box with select-list of existing posts, and assigning it to custom post types
- Getting Custom Field data from a page hierarchy
- limit amount of photos uploaded per cpt post
- Problem with adding exta field in metabox in custom post type
- Move value of one custom field to another
- Deleting a custom field field
- custom field to always to .get_the_title()?
- Displaying posts with only upcoming dates according their custom field date value
- How do I add custom_meta_box_id’s value?
- Get a post_id where meta_value equals something in a serialized meta_value field
- little help with a mySQL query to wp database
- Add WYSIWYG to Image Description field
- How do I query for a post by custom field?
- Including Database Generated Pages in Site Search [closed]
- Calling custom profile fields?
- How to save media files under custom folder without changing wp-config.php or changing media settings
- How can I sort homepage by a meta value?
- Performance of storing multiple meta fields vs one JSON encoded field [duplicate]
- get_posts that match a user-specified value on a page
- how to put a custom field value in variable
- Custom Metabox Not Saving
- How to add image attachment to post from a single meta key (Woocommerce)
- Custom Fields – Taller editing area
- How to add Advenced Custom Fields In Single Post
- How can I output a list of values for a custom field, and posts with those values?
- Manipulate javascript code from custom made admin page menu
- Add additional ‘description’ field for defined roles / role metadata?
- Change the main loop WordPress impact on the server?
- How to get categories with posts by custom field value?
- Meta Query returns wrong number of posts
- How to hide a custom field if there is not a value
- custom-meta-box checkboxes from loop won’t save
- Custom dropdown field added to media gallery; how to get it to save properly?
- Display Custom Field for a Specific Role, but not for Admin
- Correct syntax for retrieving custom field in CPT
- $TBA Getting Translated to $0 (Custom Fields)
- Walker class for sub-menu with ACF fields
- Hide text if one custom field out of two is empty [closed]
- Add custom fields to existing posts (admin pages)
- Multiple instances of TinyMCE are removing tag
- Echo the custom field value from the latest post from the ‘video’ post format?
- How do i get the attached images with custom value checked?
- How to disable Edit Post and Allow only Custom Field?
- Convert attachment ID into url?
- How to query an out put value?
- What’s the best way to implement custom widgets on a per post basis?
- Displaying Meta-Box Data Properly
- Retrive Image URL of Custom Fields in Theme
- Custom Fields Question
- do_shortcode close
- Search Results Page – Displaying Custom Meta Fields
- Interrogate a page within a loop to check template type or custom meta data (Pages vs Posts)
- using advanced custom field to control css hover color
- Custom Field data only shows after manual post update
- Custom field Search with Relavanssi
- wordpress get_post_meta / the_meta to output custom field value
- How to show content of custom fields in search results?
- simple fields plugin custom query
- Set class if a meta value is set within post archive
- Allow HTML in Custom Metabox area
- Custom field metabox not showing in back-end
- checking liked user in wordpress rest api
- How to display selected option from dropdown list in a metabox
- Load one page with parent and child pages
- Why can’t I get the correct post permalink
- Use a different catalog image than the featured image
- Login Api with Meta_key and Meta_value
- How to add a default field Name to post Custom Fields
- Ordering posts by custom fields
- How to diplay a div only if at least one author custom profile field is filled?
- Set custom field value when reaching expiration date
- Extend WP_Customize_Control with Multiple Field Control
- Confusion on how to display custom field data
- How to use page metadata while using wp_list_pages()?
- Validating custom meta boxes with jQuery results in posts being saved as draft instead of published post
- Running a Gallery Shortcode in a Custom Fields Widget
- How to allow user to add to, but not edit, a post?
- Custom Metaboxes, multiple post selection
- How to sort Custom Fields by a value
- How to organise via Custom Fields on Category Page
- Calling Custom Field within Function wrapped with Divs.
- Display custom field value into content with hyperlink
- how to add radio field on user meta on function.php?
- How to get all specific fields from one ACF Group?
- get Custom field label (select/dropdown) on front end