Closed sc0ttkclark closed 1 year ago
Need to assign to Nicholas when I get his username
@nicholasio feel free to update the task list on this one
Ok, I'll look into this today and try to get some insights till monday
Posting this here for posterity -- https://github.com/nicholasio/wordpress-fields-api/blob/implementation/widgets/implementation/widgets.php
From @nicholasio:
based on your user-fields implementations before outputting the controls, I’ll use the helper methods of the widgets class to define the name and the id's of the control, because this will make easier to save the data, as the data will come through $new_instance, and I’ll only need to sanitise the data
@nicholasio
I looked over your widget code and I think there’s some more things we can do:
Initial PR here: #69