Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Save/update post_meta with Gutenberg from the panel

I found out this bug https://github.com/WordPress/gutenberg/issues/4989

If an attribute get data from meta, and then post is saved/updated, it always return as undefined

Related Posts:

  1. Filter post_content before loading in Gutenberg editor
  2. WordPress Gutenberg get page template value when post updated?
  3. Transition from (classical) serialized custom meta field to (gutenberg) rest enabled meta
  4. How to properly add custom entities in Gutenberg
  5. Gutenberg Custom Block Getting All Posts
  6. Is it posible to use wp.data.select(‘core’) outside a block?
  7. Custom Post Type and Custom REST API Endpoint result in Gutenberg editor not working
  8. Getting meta in editor plugin, and event triggering issue
  9. Get a term object using getEntityRecords
  10. Get custom posts in gutenberg block
  11. Update meta_value in wp_postmeta using API
  12. Do something when publish a post in Gutenberg with hook rest_after_insert_post
  13. How to modify the HTML output of Gutenberg block? (Youtube)
  14. Custom meta POST request fired twice when updating a post in Gutenberg
  15. update meta data (like view counter) by rest-api
  16. Call to undefined function upload_is_user_over_quota()
  17. Is the WordPress REST API installed and enabled in a vanilla WordPress 4.7 installation?
  18. Does something like is_rest() exist
  19. How to: Make JWT-authenticated requests to the WordPress API
  20. REST API purpose?
  21. Get post count in wp rest API v2 and get all categories
  22. WP REST API — How to change HTTP Response status code?
  23. wp_get_current_user() function not working in Rest API callback function
  24. How to use WP-REST API to login user and get user data for Android app?
  25. How to get custom post meta using REST API
  26. WP REST API Is it rather easy to rename the default wp-json uri part?
  27. Search WP API using the post title
  28. How to add category to: ‘wp-admin/post-new.php’?
  29. check the requesting url
  30. How would I add custom tables/endpoints to the WP REST API?
  31. WP REST API Require Password for GET Endpoint
  32. Displaying a page built with Elementor using the REST API [closed]
  33. Getting user meta data from WP REST API
  34. How to edit a post meta data in a Gutenberg Block?
  35. Understanding SHORTINIT with WordPress 5
  36. How to use _embed when using _fields?
  37. Update CPT meta data using REST API
  38. WP REST API V2 – Retrieve sub page by full slug (URL/Path)
  39. WP REST API create post authentication issue
  40. Edit srcset and sizes attributes in Gutenberg image, cover and gallery – blocks
  41. Why is my custom API endpoint not working?
  42. WordPress REST API validation
  43. Are there server performance benefits to fetching only specific fields when querying the REST API?
  44. How to define a query parameter with REST API?
  45. Gutenberg custom block plugin with custom image sizes
  46. Filter posts by multiple custom taxonomy terms using AND operator in REST API v2 (WordPress)
  47. WP REST API returns blank response if post is too long
  48. How do I correctly setup an AJAX nonce for WordPress REST API?
  49. Increase per_page limit in REST API
  50. How to create gutenberg block using REST API independently or as headless way?
  51. WordPress Rest API: How do we validate with our custom API key?
  52. Does pre_get_posts affect REST API responses?
  53. How to feed a HTML5’s EventSource with a REST API custom endpoint?
  54. Get loading state of wp data selector
  55. Adding WordPress API Endpoint With Multiple Parameters
  56. Gutenberg how to make attribute to save to meta
  57. Retrieve CSS and JS From the REST API
  58. Using the REST API (v2) javascript client on a private namespaced route
  59. How to Authenticate WP REST API with JWT Authentication using Fetch API
  60. authentication issue with rest api – rest_cannot_create
  61. WP REST API core major changes
  62. WordPress 4.7 REST API endpoints
  63. How to get all posts from parent and children categories?
  64. wordpress wp-json prefix issue
  65. Hiding API routes list
  66. Gutenberg – how to correctly perform ajax request on backend
  67. Get blog title with REST v2
  68. Is it possible to nest the JSON result of WordPress REST API?
  69. Match REST API post output from custom endpoint
  70. WP REST API “rest_no_route” when trying to update meta
  71. How to use the WP REST API for new user registration (sign up form)?
  72. Get post from custom REST endpoint in Gutenberg
  73. Can I authenticate with both WooCommerce consumer key and JWT?
  74. REST API multiple media upload
  75. Plugin Sidebar is not Saving Meta Attribute to Post/Page after “Update”
  76. Attach featured image to custom endpoints
  77. Can’t send emails through REST API
  78. 401 Error when trying to make a REST API call to site
  79. Rest Api v2 orderby meta_key in custom post type
  80. WordPress: How to create custom REST API route?
  81. Create post using rest api with html content
  82. Does jQuery/Ajax send cookies when using the rest API or do I need to somehow add them?
  83. WP REST API: check if user is logged in
  84. Cannot edit post meta fields with rest API
  85. How do I access post meta data when publishing a new post in Gutenberg?
  86. How to change user avatar using REST API?
  87. How to login to WordPress site using basic authentication HTTP headers?
  88. REST API URL parameters not working with apache server
  89. Adding post fields in wp-json/wp/v2/search
  90. Can we access the REST request parameters from within the permission_callback to enforce a 401 by returning false?
  91. How to Pull ALL Posts, Categories, or Tags in WordPress REST API
  92. rest api authentication
  93. Unable to get the info of the user which doesn’t have created any post via REST API
  94. Trying to get an api request getting error 404
  95. Upload image to wordpress using REST API
  96. Can I define multiple callback methods depending on the call method?
  97. Filter post content in REST API
  98. rest_post_query on multiple post types?
  99. WP Rest API convert permalink to post ID for fetch
  100. Does accessing WordPress via REST API affect the site stats and analytics?
Categories rest-api Tags block-editor, post-meta, rest-api
Bulk activate a theme on multisite
Authenticate a user for current request

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress