The problem was with $this->setup_links(); which used add_action("publish_post", array(&$this, "saving_posts")); instead of add_action("save_post", array(&$this, "saving_posts"));
Apparently publish_post doesn’t work with custom post types.
Related Posts:
- Saving custom metabox data with a twist
- Remove Custom Taxonomy Metabox from Custom Post Type Screen
- Meta Boxes: ‘admin_init’ or ‘add_meta_boxes’ hook?
- Can you make a custom metabox field be required to save a new post?
- Action hook on Edit custom post type?
- Display content from custom meta boxes in revisions
- Get terms that contain posts that in turn belong to other terms?
- Changing the priority of a custom taxonomy’s metabox
- How to get custom metabox image field?
- Detect meta value changes when post is updated (post_updated)
- Custom field being erased after autosave
- How to select one major category (or custom taxonomy) for a custom post type?
- How can i add a metabox to pull list of custom posts (any two) on edit or add post screen?
- How to add a select menu to this metabox code?
- Cleanest way to code “Custom Write Panels/Meta Boxes”?
- Custom post type’s slug gets wrong when adding a custom meta box
- Metabox saving values
- Want to filter only parent post in admin area
- Custom Meta Boxes – Nonce Issue – Move to trash issue
- Calculate Repeater Meta Box Input Field Values and Display Total
- How to add meta boxes(repeater fields) from WordPress back end?
- Displaying Meta Box Image
- Multiple information using custom post type
- get_terms won’t display product_cat or any other custom taxonomies when specified
- Display custom post on home page based on a metabox selection
- How to add a “custom” date field to a custom post type?
- Meta Box Only in CPT Edit Page, Not in Add New
- get_post_meta is returning image id
- WordPress nl2br is not converting newline to html line break when saving metabox value
- Custom Post Type + 20k posts = blank/404 within Admin edit.php [duplicate]
- List custom post types in metabox
- Create custom PAGE with register_post_type
- Send email button in custom post type backend
- Custom meta box data array: foreach not working correctly?
- What’s the difference between same wp functions get_posts(); functions in different form?
- Troubles with saving metabox
- How to check if user meta field is empty in conditional else statement
- Custom Post Type with Templates using Meta Boxes?
- Converting the_content string to an array?
- Post Quote with image on header for news site
- How to Create an Image Upload Box for Custom Posts?
- How to store multiple values in 1 meta_key with radio input?
- Display custom fields from custom posts in RSS feed
- A better way to add a meta box to custom post types
- Create Connection Between two post types
- Get terms that contain posts that in turn belong to other terms?
- Cannot save CPT meta box
- Create a Dropdown from Custom Post Type
- Listing custom terms in custom post meta
- Can custom fields be added without a meta box?
- Meta Box on Custom Post Type not saving
- Moving meta boxes in admin
- Meta-Boxes for CustomPostType cause PHP Errors and Notices in “Add New” view
- custom post type metaboxes not saving
- Custom post type, have only my meta boxes
- Display Repeatable Meta Box Content
- $wpdb->get_col and ORDER BY?
- Saving Meta Data within Custom Post Type
- Values from meta-box not on $_POST
- Get id from metabox dropdown
- Custom posttype content metabox
- Reusable metabox backend and frontend
- How can I output WPAlchemy repeating fields meta values in my page template?
- How can I modify a custom post type and custom page template for a child theme if all content seams to be handled by theme’s ‘native’ plugin?
- Meta box data not saving
- Questions regarding add_meta_box()
- Related posts meta_query CPT
- Meta box with front-end styling
- How to retrive Custom Post Type Meta Fields in Custom WP_Query
- Problem On Retrieving Post Meta Data on Custom Column [closed]
- Custom MetaBox : Food Menu Item Available Dates
- how to compare different timestamps in wp-query for events custom post types?
- Metaboxes inside Tab
- Custom Post Type meta data getting deleted on bulk editing taxonomies
- Show a custom post title in another custom post type in Meta box
- Filter in Custom post type to find the parent post
- Modify Publish Metabox location on CPT
- PHP Warning with Custom Fields
- Custom taxonomy with custom post type archive page
- Wrong post ID in meta box callback
- Metabox messes up permalink
- How to shows CPT which has specific meta key?
- Render the metabox input values as HTML
- wp_dropdown_pages doesn’t allow me to select more than one custom post type
- Delete custom post type metadata without deleting the post in admin area
- Metabox is not saving
- Custom Post save causes 500 error
- How to check if meta box value is false for all posts then do something based on that
- Not Able to Display Metabox Saved Checkbox and Selected option After Save/ Update
- Display a post count from a custom metabox selection
- Select custom post by meta value
- $wpdb returns no results with SELECT query on custom post type, works on default post type
- Custom meta box includes
- Post AND page parameter for WP function
- Add text to metabox input text field from Thickbox
- Issues on saving data from CPT select metabox
- Multiple posts selection [closed]
- Cannot change meta box position
- My custom meta box with textarea field not saved
- Can’t retrieve custom post type taxonomy term to custom post type editor