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
- how to compare date meta value in jet smart filter Date query?
- How to remove duplicate Custom Fields?
- Copyright messages for a particular set of pages
- Plugin not saving values when placed in a folder within /wp-content/plugins
- How to add the post ID (or any other post data) to a Contact Form 7 mail?
- Security checking in meta_box save is reluctant?
- Show a special message for private page?
- How can plugins have their own pages?
- Override plugin with functions.php
- Make the checkbox meta field checked by default
- Add a plugin before main container
- Last modified field for user profile?
- Should i delete the posts created by a plugin on uninstall?
- Allow users mark posts as “complete”?
- WordPress CMB2 – Run function on save
- FacetWP group listings by custom field [closed]
- Wondering what these multi-colored extra pages are?
- Create a custom page template inside my wordpress plugin
- Is there a way to order posts and custom post types as one group?
- RW Meta Box ,Problem setting post title
- How does WP handle multiple matching rewrite rules?
- dynamically generating plugin syntax
- Is it possible to use WordPress as an online portfolio for text content? What kind of theme would I look for?
- Building a store locator with google maps
- Custom Field Template seriously messed up in WP 3.1.1
- Duplicate posts when posting nulls in records in phpMyAdmin [closed]
- How to make wp_enqueue_style and wp_enqueue_script work only on custom post type
- Loco Translate: Custom Post and Custom Taxonomy Labels not translated in wp-admin menu
- Accessing post’s meta data based on user’s click of a post
- Carbon Fields use in custom plugin class
- View Private Published Page with URL Code (no login required)
- How I can get custom field’s current value?
- UnWanted Custom field added in the wp page edit area
- Do action only on certain front end pages?
- Woocommerce – How to populate custom select field with stored values on checkout page?
- Replace text in post from cvs
- Implement Autocomplete for a custom field on WordPress Plugin Frontend
- How to create user groups and allow custom posts and plugin modify/access to specific group?
- Correct way to make meta box with more than one meta field secure
- I want to extend the current themes’ single.php to display the meta fields of my CPT
- How to query the custom fields by language?
- Plugin custom post type – Internal server Error
- Exclude post by custom meta with pre_get_posts
- How can I create a custom shortcode that will return a custom post type by ID?
- Is it possible to create Custom Post plug-in?
- get_post_type() and WP_QUERY issue
- get_post_type on post.php
- List taxonomy terms for post as checkboxes
- All of my custom posttypes are 404’ing
- more types plugin – display all post of post type on page
- When using Simple Fields plugin, how do I pull the information out of the database to display on a page?
- How to make a proper custom post type link
- Assign / update custom field value for all posts (How can I assign only to posts without custom field value?)
- Matching Chapters to a Custom posts [closed]
- Custom post type – no layout section of Document tab, and no author choice
- How to delete page by deactivating plugin
- ‘No Results Found’ on single post for custom post type
- Keep a post copy when this one is updated – issue
- WordPress web pages keep getting deleted (moved into the trash) by themselves
- Making a Template for a CPT created by a plugin
- Run plugins only on certain pages
- how to add a button next to the wordpress view button?
- (FES EDD) New vendor submission page is blank
- is there a way to link one of the field in ACF field group, to a field in a media attachment page? [closed]
- How to toggle between two custom fields in WordPress woocommerce ‘WC Product Field Group’ plugin?
- How to create an input field, and base the output on spreadsheet data? [closed]
- Dynamic dropdown select values depending on other custom field value
- Tracking changes in admin-page so user gets warning when leaving the page
- WordPress plugin/theme or other wayout to create portable pages?