fields not saving

Support MB Term Meta fields not savingResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45132
    Topher DeRosiaTopher DeRosia
    Participant

    I built some term fields and they work great when running from the Builder. When I export the code and put it in a Class, everything works except saving the data. It worked for a while, but I didn't notice when it quit, so I can't revert. How can I debug this? I could give you my plugin.

    #45140
    PeterPeter
    Moderator

    Hello,

    Please check two points:

    1. The field setting save_field is not set to false.

    2. Increase the PHP setting max_input_vars, please follow the documentation https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/

    If it doesn't help, please share your plugin here and let me know where to check the field settings.

    #45141
    Topher DeRosiaTopher DeRosia
    Participant

    I figured it out. I had some logic dictating when my class was instantiated. It was there for the front of the admin page, but not there for submission. I loosened the logic and it works fine.

    #45142
    Topher DeRosiaTopher DeRosia
    Participant

    Feel free to close.

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