Skip to content

Instantly share code, notes, and snippets.



Last active Dec 18, 2015
What would you like to do?
Include CMB's init.php on the 'init' WordPress hook
* Initialise CMB
* @author Phil Wylie
* @link
function pw_initialise_cmb() {
if ( ! class_exists( 'cmb_Meta_Box' ) ) {
require 'lib/init.php';
add_action( 'init', 'pw_initialise_cmb', 9999 );

This comment has been minimized.

Copy link

@maisdesign maisdesign commented Jun 11, 2013

No more errors :-)
But also no Custom meta boxes -.-''''''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.