Yes – you need a slightly modified version of this answer.
add_action( 'add_meta_boxes_post', 'wpse39446_add_meta_boxes' );
function wpse39446_add_meta_boxes( $post ) {
if( 'mycpt' == get_post_type($post) ){
remove_meta_box( 'authordiv', 'mycpt', 'core' );
add_meta_box( 'authordiv', __('Team Member','wpse39446_domain'), 'post_author_meta_box', 'mycpt', 'advanced', 'high' );
}
}
Note: If you are doing this for a non-core metabox, you’ll need to ensure the callback is called after the metabox is added by specifying a higher priority.
Related Posts:
- Placing a Custom Post Type Menu Above the Posts Menu Using menu_position?
- Loading External Scripts in Admin but ONLY for a Specific Post Type?
- How to add custom columns to Custom Post Type admin screen
- How to Make an admin_notices Message That Disappears Once the User Leaves That Particular Page?
- Is it OK to move admin menu items?
- How to add post_author column to custom post type
- Adding help information to custom post edit page
- WordPress User Roles, Custom Post Types, and Admin views
- Using WPAlchemy metabox values in another metabox
- How to customize admin posts based on the user who is logged in
- How can I create a custom meta box to add an mp4 video to a page?
- Remove rows in the manage post/page view
- Selecting a post in Dashboard
- Custom admin post.php page
- How to add a custom-post-type post within another custom-post-type post edit screen using AJAX?
- Use remove_meta_box conditionally on custom post type
- Dashboard : remove Safari navigator message
- Filter posts of custom post type by meta key in (List All Section)
- Add data to post edit page, when post is published
- Multiple wp_editor instances in custom post type using Ajax
- Questions regarding add_meta_box()
- Metaboxes inside Tab
- How can I put content before my custom post type default pages?
- How we can create menu from Appearance > Menu and use as a add-submenu-page for admin menu?
- Metabox collapsed by default
- Help Adding filter to Add Media button for custom post type
- Simple Data picker meta box
- Change column of row action (Quick Edit) links in WP_List_Table
- Load a script just to custom post type in admin
- Help Creating a Slideshow Custom Post Type with Custom Meta Boxes?
- Show Custom Taxonomy Inside Custom Menu
- Custom Post Type – Taxonomy Dropdown Menu?
- How to add multiple images to custom post type?
- How do I remove all the metaboxes for a custom post type?
- How To Set Custom Post Type Title Without Supports
- Creating a Custom Post Types dropdown in a Meta Box
- Add pre-existing meta box to new custom post type
- Custom admin columns for ALL custom post types
- Dynamic page.php template for custom post types
- how to create my own edit.php admin page code or template for my custom post type
- WordPress metabox file upload in custom post [duplicate]
- Display metabox conditionally
- Sort custom post types by last name in the backend
- Embed ‘New Post’ Form Inside ‘New Post’ Form
- Relate two custom post type using meta box
- Hiding Metabox from Screen Options Pull Down
- How to: add option to add more checkboxes on custom post type
- Add text to post list/edit screens?
- how to set default value for checkbox in wordpress
- Custom post admin filtering by post meta (the date)
- Admin Column Text Positioning
- How to make in WordPress admin panel sortable column for the custom field, that count the number of page impressions?
- How can I show/add/save custom metaboxes as an Array of values?
- window.send_to_editor and jQuery .attr() conflicts with multiple custom upload image meta boxes
- Adding HTML tags or css classes to admin columns
- Create a page that will be used to create a custom post type
- WordPress 3.5 Media Uploader – Only allow 1 upload and certain file types
- Custom Post List View: Page or something else?
- Filter term taxonomy metabox in custom post type
- Getting Custom Post Type Meta on Publish
- Sizing textarea field in custom metabox
- Custom Post Meta from custom metaboxes is randomly being deleted
- Custom post-type metabox position
- How can I set a meta value that will then affect other post meta values?
- Hide Status Option From WordPress Publish Metabox and Rename Published on:
- Custom posts of one type have disappeared from admin. Still appear on site [closed]
- How to get the custom post list to admin user edit page?
- How to Use Custom Meta Field Instead of CPT Title in Post URL
- Get custom term meta problem on single post type
- Is it possible to sort metabox teaxtarea values?
- CMB select with data from CPT
- Multiple custom post types on same admin page
- List of all posts in one custom post type in the edit screen of another
- Change Text in Admin Panel
- get_posts() returns empty on custom post type /wp-admin/edit.php
- Is there any filter to add a custom attribute to the tag in admin panel?
- Sort custom post column by generated value?
- How can i redirect click to new admin page not to edit screen in post table
- How to Grab Anime info using Jikan API and fill the value in Metabox
- create a “add icon” field in taxonomies page
- Get meta values from parent post and save in child post
- Using meta boxes as the title of a custom post type
- How to override post-new.php with custom template
- Pagination in wp-admin for CPT
- Dashboard controls have all stopped working
- Populate metabox dropdown with post title from another Custom Post Type (issues with wp_reset / global $post)
- Custom meta box in editor of custom post type not working
- Meta box not saving
- CPT and metabox: create multi checkbox by using array?
- How to make post page unique and show it on home page?
- Default taxonomy ‘post_tag’ added to CPT managing by custom role : nothing in the metabox
- Custom sortable pages on custom post type
- Toggle a metabox based on a selection
- Add multiple custom meta boxes to different custom post types
- Filtering in admin broken for custom post type in 3.8.1?
- Custom post type Featured Image popup not working
- Problems with a custom meta_box
- Issue displaying multiple TinyMCE editors with WPAlchemy
- Custom order of CPT posts by title, in wp-admin area by default
- How to consume external API from WordPress post editor and display the response data in the custom field?