I believe your problem might be nonce-related. I see you’re doing what I did at one point with a problem I had when I tried doing nonces the way you’re using them.
I’ll quote @EAMann on this:
The standard way to create this field
is using WordPress’wp_nonce_field()
function. It will add the hidden
field for you:wp_nonce_field( __FILE__, 'argus_edit_visitor' );
Try that, see if it works. I don’t see anything else wrong with your code.
If that doesn’t work, try print_r( $_POST['beds'] )
to reveal what is being submitted in $_POST['beds']
.
Related Posts:
- Remove Custom Taxonomy Metabox from Custom Post Type Screen
- Custom Taxonomy as checkbox or dropdown
- wp_dropdown_categories in custom post type with custom taxonomy
- Changing the priority of a custom taxonomy’s metabox
- WP_List_Table Inside Metabox Not Working on Submit
- Find callback function for custom taxonomy metabox
- How to select one major category (or custom taxonomy) for a custom post type?
- Custom Meta Boxes – Nonce Issue – Move to trash issue
- Show metabox in custom-post-template depending on taxonomy term?
- Displaying Metabox value (custom post type taxonomy)
- How can I display my custom metaboxes on a custom post template?
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Metabox not show in categories custom post type cmb2
- How to make custom taxonomy into drop down select in a custom metabox
- Ordering values entered in Custom Taxonomies
- Listing custom terms in custom post meta
- Permalinks: custom structure for taxonomy – tags?
- Removing numerous Meta boxes from numerous CPTs
- Reusable metabox backend and frontend
- Get custom term meta problem on single post type
- Custom Post Type meta data getting deleted on bulk editing taxonomies
- PHP Warning with Custom Fields
- Custom taxonomy with custom post type archive page
- Add other all taxonomies as meta boxes to custom post type
- Custom meta-box for all custom post types
- Add different meta box based on taxonomy
- Getting the Intersection of Two Custom Taxonomy Terms for a Custom Post Type?
- Why does my custom taxonomy show a total count across all post types
- Dynamic page.php template for custom post types
- Custom Post Type with Nested Taxonomy and Template Files
- Show all custom post type posts sorted by custom taxonomy then by another custom taxonomy
- Custom Post Type Category List & Post Count
- Custom taxonomy archive page not working
- How to show multiple post types on taxonomy archive?
- Embed ‘New Post’ Form Inside ‘New Post’ Form
- Custom post type / custom fields
- Relate two custom post type using meta box
- Get the posttype of a taxonomy/term
- Add hierarchical taxonomy to permalink for custom post type
- How to get posts from multiple custom post types according to it’s custom taxonomy terms?
- get_template_part for each level of taxonomy term
- window.send_to_editor and jQuery .attr() conflicts with multiple custom upload image meta boxes
- Displaying a custom post types custom taxonomy value?
- custom permalinks based on taxonomies for custom post type
- Custom Post Type Taxonomy Filters
- How do I associate a custom post type with another through a taxonomy or storing an ID in a custom field?
- Get related posts of child term of custom post type
- Filter term taxonomy metabox in custom post type
- Show custom post archive when custom post not specified
- Show custom post type relationships by taxonomy
- Getting Custom Post Type Meta on Publish
- Filter CPT posts by one or more categories
- Hierarchy and access control for Custom Post Types (CPT)
- Different Category system needed for the Custom Post Type
- single-{post_type}.php not working
- WordPress wp_query() basic question about args
- How to add current custom taxonomy slug to body class
- How to define a term for custom taxonomy
- Exclude posts with custom taxonomy
- List custom taxonomy as navigation – taxonomy pages with all it’s posts?
- How can I set a meta value that will then affect other post meta values?
- How to approach a site where it has sub-businesses, each with its own pages (“articles”, “staff”)? Don’t want to use WP multisite
- How to rewrite custom taxonomy term archive to use THE SAME SLUG/front as CPT
- How to get the post terms from a child taxonomy
- Creating custom post type posts and associating them with a post from another custom post type
- Custom Post Type View Button in Admin Gives 400 Error
- CMB select with data from CPT
- how to organize my categories or should I do custom post types for some?
- How do i display post from a taxonomy term?
- Multiple permalinks for a single post with multiple taxonomies
- rewrite rules hierarchical
- either single-{custom}.php 404’s OR /taxonomy/ 404’s – custom post type and taxonomy permalinks
- update custom taxonomy custom fields
- Filter taxonomy by CPT
- How to display “META” array in register_taxonomy
- If ACF Post Object post has custom taxonomy term…
- Using meta boxes as the title of a custom post type
- Customise Permalink Structure For Custom Post Types
- How to filter taxonomy of a custom post type and display it in the single post type page in the back end?
- Parent and child categories with their id in drop_down in CPT
- CPT/Taxonomy/Postname permalink structure makes pagination break
- Custom Taxonomy not working front side Woocommerce
- Custom post type post_type_link gives “page not found” on any other custom post type
- I want to create an archive and single page for a custom taxonomy for a custom post type
- Taxonomy’s title
- Display all posts from single taxonomy term
- Best way to use Category & Custom Fields?
- Heirarchical URLs with CPT and custom taxonomy
- Displaying taxonomies with manage_{custom-post-type}_posts_custom_column
- Plugin Error on activating
- Paginate custom taxonomy category with wp_custom_pagination
- Custom post type post taxonomies
- Custom Taxonomy Showing in WP Menu
- Storing/querying custom date data
- Custom Template Taxonomy
- How to relate one custom post type to another custom post type
- Issue On Listing Woocommerce Parent Tag List
- Links in archive not including taxonomy parameter
- Sort ACF by custom taxonomy
- Taxonomy Archive URL + Template