WordPress filter hook
cmb_default_filter
Fired by 36 WordPress plugins, running on 7,360+ sites between them.
How to use cmb_default_filter
It's a filter: your callback receives the value and 3 more arguments, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'cmb_default_filter', function( $args, $args2, $object_type, $object_type2 ) {
// Change $args here.
return $args;
}, 10, 4 );Argument names come from Arconix FAQ's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
36 plugins that fire cmb_default_filter
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Arconix FAQ6,000+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )includes/metabox/helpers/cmb_Meta_Box_field.php:447 -
Meet My Team300+ installs
apply_filters( 'cmb_default_filter', $field['default'], $field, $object_id, $object_type )admin/includes/Custom-Metaboxes-and-Fields/init.php:426 -
Flip Box Carousel200+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )helpers/cmb_Meta_Box_field.php:447 -
JP Students Result Management System100+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )boxes/helpers/cmb_Meta_Box_field.php:447 -
Easy Heads Up Bar100+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )lib/cmb/helpers/cmb_Meta_Box_field.php:447 -
Responsive slider / slideshow100+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )inc/metaboxes/helpers/cmb_Meta_Box_field.php:447 -
Hoo Hreflang Tags100+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )includes/metabox/helpers/cmb_Meta_Box_field.php:447 -
Arconix Portfolio50+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )includes/metabox/helpers/cmb_Meta_Box_field.php:447 -
Suscriptflech50+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )admin/includes/custom-metaboxes/helpers/cmb_Meta_Box_field.php:447 -
JP Students Exam Admit Card Generator50+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )includes/boxes/helpers/cmb_Meta_Box_field.php:447 -
Infinite Slider30+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )public/includes/cmb/helpers/cmb_Meta_Box_field.php:447 -
WP Quick Maintenance30+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )metabox/helpers/cmb_Meta_Box_field.php:447 -
BuddyPress Profile Tabs30+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )admin/includes/CMBF/helpers/cmb_Meta_Box_field.php:447 -
Better Admin Help Tabs30+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )cmbclass/helpers/cmb_Meta_Box_field.php:447 -
Typhoon Slider10+ installs
apply_filters( 'cmb_default_filter', $field['default'], $field, $object_id, $object_type )CMF/CMF/init.php:391 -
Landing Page Rockstar10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )metabox/helpers/cmb_Meta_Box_field.php:465 -
Pronosticos Apuestas TAP10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )admin/includes/cmb/helpers/cmb_Meta_Box_field.php:447 -
Deactivate WordPress Users10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )lib/metabox/helpers/cmb_Meta_Box_field.php:447 -
Genesis Staff Bio Grid10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )lib/metabox/helpers/cmb_Meta_Box_field.php:447 -
Ruven Themes: Post Formats UI10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )includes/cmb/helpers/cmb_Meta_Box_field.php:447 -
TallyKit10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )acoc/vandors/cmb/helpers/cmb_Meta_Box_field.php:447 -
WPB Circliful10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )lib/helpers/cmb_Meta_Box_field.php:447 -
WP W3D plugin10+ installs
apply_filters( 'cmb_default_filter', $field['default'], $field, $object_id, $object_type )includes/metabox/init.php:392 -
Resource Review10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )includes/metabox/helpers/cmb_Meta_Box_field.php:447 -
Promociones TAP10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )admin/includes/cmb/helpers/cmb_Meta_Box_field.php:447 -
Maxi BG10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )lib/cmb/helpers/cmb_Meta_Box_field.php:447 -
Limit Characters in Title10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )metabox/helpers/cmb_Meta_Box_field.php:447 -
Ketchup Coupons10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )includes/metaboxes/helpers/cmb_Meta_Box_field.php:447 -
iThemes Exchange10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )lib/metabox/helpers/cmb_Meta_Box_field.php:447 -
WF Popup Menu10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )lib/helpers/cmb_Meta_Box_field.php:447 -
Sneakers10+ installs
apply_filters( 'cmb_default_filter', $field['default'], $field, $object_id, $object_type )init.php:391 -
Give It Away Now!10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )includes/metabox/helpers/cmb_Meta_Box_field.php:437 -
Arconix Testimonials10+ installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )includes/metabox/helpers/cmb_Meta_Box_field.php:447 -
Projects by ParsehFewer than 10 installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )metabox/helpers/cmb_Meta_Box_field.php:447 -
Sanchari TestimonialFewer than 10 installs
apply_filters( 'cmb_default_filter', $args['default'], $args, $this->object_type, $this->object_type )inc/cmb/helpers/cmb_Meta_Box_field.php:447 -
Flaunt Your ClientsFewer than 10 installs
apply_filters( 'cmb_default_filter', $field['default'], $field, $object_id, $object_type )lib/metabox/init.php:391
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.