rwmb_begin_html
This filter is used to change the beginning HTML output of a field. The default beginning HTML of a field is:
<div class="rwmb-label">
<label for="{$field_id}">{$field_name}</label>
</div>
<div class="rwmb-input">
Syntax:
apply_filters( 'rwmb_begin_html', $begin, $field, $value );
This filter accepts 3 parameters:
Name | Description |
---|---|
$begin | The beginning HTML output of the field |
$field | Field settings |
$value | Field value |
This filter has variations:
rwmb_begin_html
: apply for all fieldsrwmb_{$field_type}_begin_html
: apply for fields with a specific typerwmb_{$field_id}_begin_html
: apply for a field with a specific id