royboy789 / gutenberg-object-plugin

Saves Gutenberg data as an object / array and allows you to access it via REST API
GNU General Public License v3.0
248 stars 17 forks source link

wp_update_post hook to update object plugin #33

Closed tariqinaam closed 3 years ago

tariqinaam commented 5 years ago

Hi, I am doing a data migration from drupal to wordpress. And there is some data that is already stored in WordPress as Gutenberg blocks. What is the best way to save these posts into plugin's new table. When I do wp_update_post(), it doesn't insert any record in wp_gutes_arrays.