WordPress filter hook
rwmb_meta_box_class_name
Fired by 11 WordPress plugins, running on 502K+ sites between them.
“Allow filter meta box class name.”
How to use rwmb_meta_box_class_name
It's a filter: your callback receives the value and 1 more argument, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'rwmb_meta_box_class_name', function( $value, $settings ) {
// Change $value here.
return $value;
}, 10, 2 );Argument names come from Meta Box's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
11 plugins that fire rwmb_meta_box_class_name
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Meta Box500,000+ installs
apply_filters( 'rwmb_meta_box_class_name', 'RW_Meta_Box', $settings )inc/meta-box-registry.php:18 -
Disclaimer Popup1,000+ installs
apply_filters( 'rwmb_meta_box_class_name', 'RW_Meta_Box', $settings )assets/meta-box/inc/meta-box-registry.php:17 -
WP Restaurant Price List400+ installs
apply_filters( 'rwmb_meta_box_class_name', 'RW_Meta_Box', $settings )assets/meta-box/inc/meta-box-registry.php:27 -
Kata Plus300+ installs
apply_filters( 'rwmb_meta_box_class_name', 'RW_Meta_Box', $settings )includes/meta-box/meta-box-plugin/inc/meta-box-registry.php:17 -
Crucial Real Estate100+ installs
apply_filters( 'rwmb_meta_box_class_name', 'RW_Meta_Box', $settings )includes/libraries/meta-box/inc/meta-box-registry.php:17 -
SermonPress20+ installs
apply_filters( 'rwmb_meta_box_class_name', 'RW_Meta_Box', $meta_box )dependencies/meta-box/inc/functions.php:278 -
Pando Extra10+ installs
apply_filters( 'rwmb_meta_box_class_name', 'RW_Meta_Box', $meta_box )inc/meta-box/inc/functions.php:278 -
Coupon Fun (WordPress Coupon Plugin by ThemeXL.com)10+ installs
apply_filters( 'rwmb_meta_box_class_name', 'RW_Meta_Box', $meta_box )inc/meta-box-master/inc/functions.php:278 -
Custom Credit Card Icons for Easy Digital Downloads10+ installs
apply_filters( 'rwmb_meta_box_class_name', 'RW_Meta_Box', $settings )assets/meta-box/inc/meta-box-registry.php:27 -
Real Estate PropertiesFewer than 10 installs
apply_filters( 'rwmb_meta_box_class_name', 'RW_Meta_Box', $meta_box )plugins/meta-box/inc/functions.php:278 -
Real Estate AgenciesFewer than 10 installs
apply_filters( 'rwmb_meta_box_class_name', 'RW_Meta_Box', $meta_box )plugins/meta-box/inc/functions.php:278
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.