I’m using Settings API and wondering if there’s any way of editing default output of add_settings_field() function?
add_settings_field('the_field', 'bar', 'foo', 'page', 'section');
function foo() {
echo 'foo';
}
Outputs:
<table class="form-table">
<tr valign="top">
<th scope="row">bar</th>
<td>foo</td>
</tr>
How to get rid of these table tags and replace them with something else?