MB Block has post meta data and needs to refresh on page update

Support MB Blocks MB Block has post meta data and needs to refresh on page update

  • This topic has 2 replies, 2 voices, and was last updated 1 year ago by sg123sg123.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #45281
    sg123sg123
    Participant

    I have a custom block which outputs the content created through a post meta field. When the user updates the post meta this should reflect inside the block in the gutenberg editor but it only does so if you manually refresh the page.

    Is there a way to get the custom block to refresh when the page is updated?

    #45292
    PeterPeter
    Moderator

    Hello,

    If you output the post meta field in the block, it won't be triggered updating on save post. Currently, there isn't an option that supports this case. I will inform the development team to explore the possibility.

    #45297
    sg123sg123
    Participant

    Is there a filter I can use or way to hook into the on save action?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.