Support Forum
Support › General › ✅My custom metabox stops working on WP 4.9.8 › Reply To: My custom metabox stops working on WP 4.9.8
Ok, I'm having some trouble updating my custom field to override the format_single_value
method in the RWMB_Choice_Field. I'm extending the RWMB_Input_List_Field
class because I want a list of checkboxes. Basically, I want to be able to pre-fill the checkbox options after a user as applied a Category to a CPT.
However, I'm getting Undefined index: multiple
when I try to do that. I guess that makes sense because I'm using multiple values, but trying to override the format_single_value
method. Is there another method in RWMB_Input_List_Field
that I should be using instead?
Thanks in advance.
P.S. I can make a new post if that is preferred.