rwmb_html

import FieldHTML from '../_parts/_field-html.md';

This filter is used to change the HTML of the field input.

This filter is used to change the field input HTML, e.g. the HTML of the inputs to enter data.

The HTML of a field input is various and depends on the field type. For example, a text field outputs an input tag, while a wysiwyg field outputs a complex div.

apply_filters( 'rwmb_html', $html, $field, $value );

This filter accepts 3 parameters:

Name Description
$html HTML output of a field
$field Field settings
$value Field value

This filter has variations:


版本号 #2
由 壳壳虫 创建于 2026-08-29 15:36:17 UTC
由 壳壳虫 更新于 2026-08-29 15:36:17 UTC