Created
June 12, 2014 19:41
-
-
Save Dianakc/c9efa8e9963c6c5447bb to your computer and use it in GitHub Desktop.
Adicionando o CMB :)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (is_admin()) { | |
add_action( 'init', 'cmb_showcase_load_metabox' ); | |
} | |
function cmb_showcase_load_metabox() { | |
require_once( 'includes/metabox/example-functions.php' ); | |
require_once( 'includes/metabox/init.php' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment