Skip to content

Commit

Permalink
Add cmb2_tab_group_tabs filter for adding arbitrary menu page urls to…
Browse files Browse the repository at this point in the history
… the cmb2 tabs. See #1407
  • Loading branch information
jtsternberg committed Feb 16, 2021
1 parent 561c8f9 commit b13a2ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/CMB2_Options_Hookup.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public function get_tab_group_tabs() {
}
}

return $tabs;
return apply_filters( 'cmb2_tab_group_tabs', $tabs, $tab_group );
}

/**
Expand Down

0 comments on commit b13a2ae

Please sign in to comment.