WordPress filter hook

cmb2_tab_group_tabs

Defined by CMB2 and fired by 50 plugins in total, running on 448K+ sites between them.

How to use cmb2_tab_group_tabs

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:

functions.php
add_filter( 'cmb2_tab_group_tabs', function( $tabs, $tab_group ) {
	// Change $tabs here.
	return $tabs;
}, 10, 2 );

Argument names come from CMB2's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

50 plugins that fire cmb2_tab_group_tabs

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. CMB2 icon CMB2300,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/CMB2_Options_Hookup.php:278
  2. Virtue/Ascend/Pinnacle Toolkit icon Virtue/Ascend/Pinnacle Toolkit30,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) cmb/includes/CMB2_Options_Hookup.php:274
  3. MP3 Audio Player icon MP3 Audio Player20,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) admin/library/cmb2/includes/CMB2_Options_Hookup.php:274
  4. My Private Site icon My Private Site10,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) library/cmb2/includes/CMB2_Options_Hookup.php:275
  5. NextMove Lite icon NextMove Lite10,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) admin/includes/cmb2/includes/CMB2_Options_Hookup.php:274
  6. WPGet API icon WPGet API10,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) lib/cmb2/includes/CMB2_Options_Hookup.php:277
  7. GamiPress icon GamiPress10,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) libraries/cmb2/includes/CMB2_Options_Hookup.php:278
  8. BA Book Everything icon BA Book Everything10,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/plugins/cmb2/includes/CMB2_Options_Hookup.php:274
  9. Insert Headers and Footers Code icon Insert Headers and Footers Code6,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) admin/cmb2/includes/CMB2_Options_Hookup.php:274
  10. AutomatorWP icon AutomatorWP6,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) libraries/cmb2/includes/CMB2_Options_Hookup.php:278
  11. Cryptocurrency Widgets icon Cryptocurrency Widgets6,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) admin/cmb2/includes/CMB2_Options_Hookup.php:278
  12. Event Single Page Builder For The Events Calendar icon Event Single Page Builder For The Events Calendar6,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) admin/cmb2/includes/CMB2_Options_Hookup.php:278
  13. Cool Flipbox icon Cool Flipbox5,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) admin/CMB2/includes/CMB2_Options_Hookup.php:279
  14. Podcast Subscribe Buttons icon Podcast Subscribe Buttons4,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/CMB2/cmb2-plugin/includes/CMB2_Options_Hookup.php:274
  15. Finale Lite icon Finale Lite3,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) admin/includes/cmb2/includes/CMB2_Options_Hookup.php:274
  16. DJ-Accessibility icon DJ-Accessibility3,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/cmb2/includes/CMB2_Options_Hookup.php:274
  17. WPBITS Addons For Elementor Page Builder icon WPBITS Addons For Elementor Page Builder2,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/cmb2/includes/CMB2_Options_Hookup.php:274
  18. Seamless Donations is Sunset icon Seamless Donations is Sunset2,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) library/cmb2/includes/CMB2_Options_Hookup.php:274
  19. WP Popup icon WP Popup1,000+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/CMB2/includes/CMB2_Options_Hookup.php:274
  20. Dynamic Team Manager icon Dynamic Team Manager900+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) lib/cmb2/includes/CMB2_Options_Hookup.php:274
  21. UpStream: a Project Management Plugin for WordPress icon UpStream: a Project Management Plugin for WordPress500+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/libraries/cmb2/includes/CMB2_Options_Hookup.php:274
  22. Topic Progression Using Storyline/Captivate for LearnDash icon Topic Progression Using Storyline/Captivate for LearnDash400+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) CMB2/includes/CMB2_Options_Hookup.php:274
  23. CRT Addons Builder and Widgets for Elementor icon CRT Addons Builder and Widgets for Elementor300+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/cmb2/includes/CMB2_Options_Hookup.php:274
  24. MediaBlaster icon MediaBlaster200+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) lib/cmb2/includes/CMB2_Options_Hookup.php:274
  25. Dynamic Product Category Grid, Slider for WooCommerce icon Dynamic Product Category Grid, Slider for WooCommerce200+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) lib/cmb2/includes/CMB2_Options_Hookup.php:275
  26. CommonsBooking icon CommonsBooking200+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) vendor-prefixed/cmb2/cmb2/includes/CMB2_Options_Hookup.php:278
  27. peLightbox Gallery Slider icon peLightbox Gallery Slider200+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) admin/src/CMB2/includes/CMB2_Options_Hookup.php:296
  28. Niso Carousel Slider icon Niso Carousel Slider200+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) admin/src/cmb2/includes/CMB2_Options_Hookup.php:274
  29. ShortLinks Pro icon ShortLinks Pro100+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) libraries/cmb2/includes/CMB2_Options_Hookup.php:278
  30. glomex oEmbed icon glomex oEmbed100+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) vendor-prod/cmb2/includes/CMB2_Options_Hookup.php:274
  31. Flows icon Flows50+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) CMB2/includes/CMB2_Options_Hookup.php:274
  32. Tour Operator icon Tour Operator30+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) plugins/cmb2/includes/CMB2_Options_Hookup.php:274
  33. BBForms icon BBForms20+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) libraries/cmb2/includes/CMB2_Options_Hookup.php:278
  34. HT Event icon HT Event20+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) admin/cmb2/includes/CMB2_Options_Hookup.php:274
  35. WhatAvatar icon WhatAvatar10+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) libraries/cmb2/includes/CMB2_Options_Hookup.php:278
  36. Scheidungskostenrechner icon Scheidungskostenrechner10+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/lib/cmb2/includes/CMB2_Options_Hookup.php:277
  37. Iandé icon Iandé10+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/cmb2/core-plugin/includes/CMB2_Options_Hookup.php:274
  38. Automatic Actions for LearnDash icon Automatic Actions for LearnDash10+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/cmb2/includes/CMB2_Options_Hookup.php:274
  39. W3SCloud Contact Form 7 to Bigin icon W3SCloud Contact Form 7 to Bigin10+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/CMB2-w3sc/includes/CMB2_Options_Hookup.php:274
  40. Disable Fast Velocity Minify icon Disable Fast Velocity Minify10+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/cmb2/includes/CMB2_Options_Hookup.php:274
  41. Coupons icon Coupons10+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) plugins/cmb2/includes/CMB2_Options_Hookup.php:274
  42. Mega Ad icon Mega Ad10+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) inc/cmb2/includes/CMB2_Options_Hookup.php:274
  43. Property Management Software icon Property Management Software10+ installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/libraries/cmb2/includes/CMB2_Options_Hookup.php:274
  44. Amazing Testimonial Slider icon Amazing Testimonial SliderFewer than 10 installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) cmb/includes/CMB2_Options_Hookup.php:274
  45. cubicFUSION Admin Enhancer icon cubicFUSION Admin EnhancerFewer than 10 installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) inc/cmb2/includes/CMB2_Options_Hookup.php:274
  46. Beem SMS icon Beem SMSFewer than 10 installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) library/cmb2/includes/CMB2_Options_Hookup.php:274
  47. FavCRM for WooCommerce icon FavCRM for WooCommerceFewer than 10 installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) includes/cmb2/includes/CMB2_Options_Hookup.php:274
  48. Gowowo Delivery Elementor icon Gowowo Delivery ElementorFewer than 10 installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) inc/Base/Library/CMB2/includes/CMB2_Options_Hookup.php:274
  49. Student Feedback icon Student FeedbackFewer than 10 installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) metabox/includes/CMB2_Options_Hookup.php:274
  50. Membros Details Slide icon Membros Details SlideFewer than 10 installs apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group ) metabox/includes/CMB2_Options_Hookup.php:274

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.