Created
January 20, 2015 16:09
-
-
Save danpastori/d7b9dab66cb7ec40fd5f to your computer and use it in GitHub Desktop.
Custom Meta Box initialization
This file contains hidden or 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 | |
add_action( 'add_meta_boxes', 'add_custom_meta_boxes'); | |
function add_custom_meta_boxes(){ | |
add_meta_box( | |
'my-meta-box', | |
'Example Meta Data', | |
'custom_meta_box_render', | |
'page', | |
'normal', | |
'high' | |
); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment