Create a gist now

Instantly share code, notes, and snippets.

Disable CMB2 styles on front end form
<?php
/**
* Display Venture Capital CMB2 form.
*/
function km_display_venture_capital_form() {
$args = array(
'cmb_styles' => false,
);
cmb2_metabox_form( 'km_venture_capital_metabox', get_the_ID(), $args );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment