Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('do_meta_boxes', 'customposttype_image_box');
- function customposttype_image_box() {
- remove_meta_box( 'postimagediv', 'customposttype', 'side' );
- add_meta_box('postimagediv', __('Custom Image'), 'post_thumbnail_meta_box', 'customposttype', 'normal', 'high');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement