content()
content(string $content,integer $user): string
Return modified content for the meta box.
Note: If you want to use a more complex content in a meta table use something like this:
<tr>
<th scope="row">Medium size</th>
<td><fieldset>
<legend class="screen-reader-text"><span>Medium size</span></legend>
<label for="medium_size_w">Max Width</label>
<input name="medium_size_w" type="number" step="1" min="0" id="medium_size_w" value="300" class="small-text">
<label for="medium_size_h">Max Height</label>
<input name="medium_size_h" type="number" step="1" min="0" id="medium_size_h" value="300" class="small-text">
</fieldset></td>
</tr>
If you want to "group" your meta boxes you can use this code to create a empty space:
<tr class="rml-meta-margin"></tr>
Parameters
string | $content | the HTML formatted string for the dialog |
integer | $user | Current user id |
Returns
string —Content