Replies: 0
I’m trying to setup some metaboxes outside the functions.php file along with some custom post types.
I have the cpts and now the cmb2 metaboxes working but I’m having trouble figuring out how to use a show_on_cb. I guess how I use the add_action and add_filter are throwing me.
If I have CMB2 installed as a Plugin and I’m making a Plugin, should include everything in an initialize just like a functions.php approach?
Thanks