Custom Fields
Re-Envisioned
Support MB REST API Ignore saved state on REST API

  • Creator
    Topic
  • #14367
    Resolved Austin Passy
    Participant

    Was testing out some group data and utilizing the collapsible feature with save state, and noticed that the state is saved in that field as a private key _saved_state and is then also out put in the REST API.

    One, is there another way to save the state? And two, regardless of number one that key should be stripped from the REST output.

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #14374
    Anh Tran
    Keymaster

    Due to the nature of group, a private key is the only way I found to store the current state of a collapsible group, especially with nested groups.

    I’ll make a commit for the REST API extension to strip it from the output.

    Update: the fix is available in the version 1.3.4.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.

Newsletter

Subscribe to our newsletter to receive news and tutorials for Meta Box and WordPress.


grid gear info copy caret-up caret-down trash