Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
add_action( 'add_meta_boxes', 'add_my_box' );
function add_my_box() {
add_meta_box( 'mybox', 'My Box !', '_add_my_box', get_post_type() );
}
function _add_my_box() {
echo 'Ma boite :)';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment