New answers tagged add-settings-field
It depends on what the fields do. If they are all of the same type – a label and a text input for example – then, yes, that’s a good approach. You can just use the sixth parameter to create a different output. But if these fields are different, need different escaping methods (esc_textarea() versus esc_attr()) and different HTML code, then you should use ...
Top 50 recent answers are included