Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Saving Post Meta on Custom Post type not working #107518
    Barry Ross Jr
    Participant

    I used a custom rest route and the wp.apiFetch to send the data and saved it using the wordpress method ‘update_post_meta’ and that stores it in the database and does show the data in the sidebar after reload.

    However, setAttributes still doesn’t work even if I turn off the above and just use what should be the normal way ( using setAttributes).

    in reply to: Saving Post Meta on Custom Post type not working #107481
    Barry Ross Jr
    Participant

    Your course example only works for Post and Pages, it will not save the data in the Custom post type.

    I have removed object_subtype and am having the same issue.

    From that article, I listed it appears this might be an issue with Custom Post Types, but wanted to get some additional information from you!

Viewing 2 posts - 1 through 2 (of 2 total)