rwmb_wrapper_html

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

This filter is used to change the wrapper HTML of a field, e.g. the HTML content inside the <div class="rwmb-field..."></div>.

Syntax:

apply_filters( 'rwmb_wrapper_html', $html, $field, $meta );

This filter accepts 3 parameters:

Name Description
$html The wrapper HTML of the field
$field Field settings
$meta Field value

This filter has variations:


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