Skip to main content


This filter is similar to rwmb_begin_html and is used to change the ending HTML output of a field. The ending HTML for a field looks like this:

</div><!-- .rwmb-input -->


apply_filters( 'rwmb_end_html', $end, $field, $value );

This filter accepts 3 parameters:

$endThe ending HTML output of the field
$fieldField settings
$valueField value

This filter has variations:

  • rwmb_end_html: apply for all fields
  • rwmb_{$field_type}_end_html: apply for fields with a specific type
  • rwmb_{$field_id}_end_html: apply for a field with a specific id