Looks like we both missed the error because I didn’t see it at first either.
In your call to add_meta_box you skipped the argument for context and went straight to priority. “high” is not an available string for the context argument, and this apparently causes the function to silently fail.
Adding in the string for context fixes it:
add_meta_box( 'package_meta', __( 'Package Title', 'package_textdomain' ), 'package_meta_callback', 'package', 'normal', 'high' );
Related Posts:
- Price comparison table based on Custom Post Type?
- How can I show drafts in wp_dropdown_pages list?
- Plugin allowing for artists, events and venues
- wordpress reusable content blocks
- how do i remove posts from a WP_Query so the pagination is right?
- Saving Custom Post types and fields to a custom table
- Creating a custom post type, adding custom meta fields, preventing all future editability of posts of this type
- auto populate list of questions if user select a category xyz
- Redirect to another page using contact form 7? [closed]
- Custom Post Type Fields
- How to Resize the Custom Post Images?
- Amazon.com intergration with WordPress?
- Sticky option for custom post types without using custom fields or plugins
- How do we update a custom file upload field with the Advanced Custom Field plugin?
- Show related posts based of current ACF field name in a single page post (a loop within loop)
- How can I store data from custom fields to custom tables?
- Use jQuery Datepicker code from plugin
- “After file loaded” action
- Dictionary-style definition list plugin
- How to create repeater field manually, without plugin (ACF Pro)?
- Register PODS Custom Field with WPGraphQL [closed]
- Adding LOAD MORE on a page
- WordPress hide post from custom post-type on a single page
- Create multiple posts when a custom post is created
- What method should I use for a sidebar widget that reads latest posts?
- Synch Custom Post Types (and Custom Fields, Cats, etc.) Between WordPress Sites
- How can i do custom author list?
- How do I add custom fields to the “Edit page” admin screen?
- A plugin for software reviews site like this one?
- Links not opening as they should. Custom WP plugin
- How to access the page without registering in wordpress
- Tips for using WordPress as a CMS? [closed]
- Pass PHP variable to javascript
- Edit Imported advanced Custom Fields from wordpress Dashboard
- How to make a list of companies’ information and display them to user, using custom post types and a custom taxonomy?
- [Plugin: Posts 2 Posts] reciprocal connections
- Star rating for custom post types [closed]
- How to Make a Custom Grid View
- Get image URL from media library in input
- Creating a menu page in a Object Oriented developed plugin
- Way to hook into a sidebar call to replace it with a custom sidebar
- Distributing and packaging plugins
- Last modified field for user profile?
- Wondering what these multi-colored extra pages are?
- Create a custom page template inside my wordpress plugin
- Plugin custom post type – Internal server Error
- Is it possible to create Custom Post plug-in?
- How to make a proper custom post type link
- Tracking changes in admin-page so user gets warning when leaving the page
- Mq translate plugin custom post type issue
- WordPress metaboxes – textfield suggestion automatically populated
- Char limit on custom blog-post form? [closed]
- Add menu page issues (permissions & position)
- Would Gutenberg be considered a PlugIn?
- What is the best way for showing a grid of customer logos?
- How do I enforce users to fill a determined custom field using WyPiekacz?
- One sub site is slow while all others load fine, same theme & plugins [closed]
- How to use template_include hook with form submission?
- $pages = get_pages(‘child_of=’.$post->ID); Why arguments are concatenated?
- How to create wordpress page that lets users create their own quiz? [closed]
- Modify Posts from Custom_Post_Type within the plugin
- How can I list custom post type categories of portfolio
- “Allowed memory size” problem [closed]
- Woocommerce – Change Variable Product Add to Cart to behave like external product using Custom Field (link) [closed]
- Modify pages widget and make a plugin?
- How do I create pages within a WordPress post?
- Custom Post Type, Custom Columns List
- Custom plugin places html head content in body
- Best approach to make all tags searchable by the wordpress search function
- need click to clipboard button on my site
- Setting Author on CPT
- how to show all posts of each category in pages
- Preset custom fields
- Adding category base to url in custom post giving 404?
- Problem with checked box on wp car manager plugin
- Why Custom fields description is not working WordPress Version 5.4.2?
- Problem Advanced Custom Fields PRO
- Custom product page’s style for printing
- Page Contents showing in Footer Area
- Create Inclusions and exclusions
- Create Biographies
- Why is every single HTML tag being stripped out of liveblog entries?
- WordPress doesn’t save a post revision when changing CMB2 custom fields
- How to add wordpress plugins in along with my standalone theme
- How to Save settings of custom tab product page in admin side in a database?
- Changing the body of mail sent to new user registration
- Hidden Some Setting on Post or Page [duplicate]
- Custom Info Box at end of posts?
- Creating themes using the one Plugin (Toolkit)
- How to add jquery to my custom post type wp plugin
- WordPress list child pages of custom post type
- How to tell which Plugin is displaying?
- Wp Pagenavi how to display all results
- Redirect url in plugin to somewhere else?
- Is there a way to add a custom input field for every taxonomy term in WP post editor?
- Woocommerce custom fields
- WordPress show different custom post type
- Attachement title in wpallimport
- Order custom post type by posts with most likes first
- How to provide page_template path in custom plugin using WordPress