I think that question is solvable easy-
There is a way to add custom meta box. You can basically copy this from here: add_meta_box
Now, make a checkbox in the custom meta box and a hidden field with the post id. Instead of updating post meta with
update_post_meta( $post_id, '_my_meta_value_key', $my_data );
you now can do update_option
in WordPress which is global.
Related Posts:
- How to force one column layout on custom post type edit page?
- How can I add a column/s to wp_posts table?
- WP_List_Table Inside Metabox Not Working on Submit
- Add metabox with media uploader in a custom post type [duplicate]
- add_meta_box: Datepicker like the one for postdate?
- Change Post Title Edit Box
- Multiple information using custom post type
- Notice: Undefined index: suppress_filters
- Adding dropdown select meta box to custom post type – seems restAPI is interfering
- Changing custom type name hides the posts
- Create a custom post type based on ‘Post’
- $_POST from a Meta Box
- Edit post meta direct from post.php?
- How to Arrange Support => Thumbnail
- Display a post count from a custom metabox selection
- How to filter homepage posts by popularity? [closed]
- Canot save post if any meta box was empty
- Frontpage overriding my posts
- create parent post using wp_insert_post
- Turn on and off custom post type from admin?
- Missing Posts in Custom Taxonomy List
- Display random posts, but omit the post it is on?
- Why is my select meta data not saving?
- WordPress 3.5 Media Uploader – Only allow 1 upload and certain file types
- How do I do this with WordPress? Taxonomies?
- Add Standard Page Attributes Metabox for Page Parent
- dynamically add a custom field or metabox to custom post type [duplicate]
- Disable block with taxonomies at post page
- I would like to have different styles for my posts based on the content of each post
- Make metabox of custom post type fully autosave- and bulk-/quick-edit compatible
- How can i add thumbnails images to particular post (using code not admin pannel) in wordpress
- Custom Post Type uses Custom Tags in add_filter?
- Post Quote with image on header for news site
- Showing posts from different categories and from custom post type
- Get latest 3 posts from multiple CPT in one query
- Custom date changer post_date => future – missed schedule error
- How to Create an Image Upload Box for Custom Posts?
- Allow non-logged in users to see a future post after clicking on a list of future posts
- get_post_type on post.php
- Which post does a taxonomy term belongs to?
- How to store multiple values in 1 meta_key with radio input?
- What is the best way to correlate one-to-many content-type relationships?
- List custom taxonomy specific to one custom post type
- Post image in WordPress not appearing on home page
- Is it possible to create relational metabox values in a custom post?
- How to add a custom-post-type post within another custom-post-type post edit screen using AJAX?
- Meta query for custom post type ignored in main query
- Display Ad on Specific Categories
- Hiding posts by other users and non-logged in
- Visual editor issue by having multiple tiny mce editors in a CPT
- custom home page and custom index page?
- Update Post Meta for a logged in user
- Found 2 elements with non-unique id (#_ajax_nonce) and (#_wpnonce)
- Add custom field to Posts and sort by it
- Add custom post type settings to wordress default posts
- A better way to add a meta box to custom post types
- Why are taxonomy terms not saving when using custom meta boxes with radio button taxonomy selectors?
- Get related posts of child term of custom post type
- Plugin – Combine Meta Box Input Fields into single saveble record
- Two Custom Post Types Many to Many Relationship
- Problem with displaying posts in the CPT category
- Getting Custom Post Type Meta on Publish
- JS innerhtml changing style when using AJAX
- Show titles, date of all posts on single category page
- Meta Query Filtering not working on Custom Meta Box using Radio Buttons
- Side effects of Script and Iframe in post
- How to Upload CSV Data into Custom Post Type Data with Metabox programmatically
- How to change the post type a theme shows by default?
- Grouping metadatas into one
- Set a checkmark in a category based on a URL-parameter
- Anon function and add_meta_box
- Several post types on WP Query by tag and taxonomy
- No Permission to add new Page, Post or CPT with Admin role
- Update postmeta Parent when post_status child change
- Metabox not show in categories custom post type cmb2
- custom post type category count shortcode
- Portfolio Page for Classic Posts
- Add post location with mile radius allowing search
- Get the category from custom post type
- Is it possible to store Custom Post Type data in separate set of tables and still have wp_post class functionality?
- Set up post page like JAMA articles
- Repeatable Fields Metabox with Textarea (or wp_editor)
- How to use TinyMCE Editor for one of my custom post meta field?
- Display correctly using metabox.io
- Custom Post Slug same as Parents Category Slug
- Shortcode not working with post counter
- Create Connection Between two post types
- pre_get_posts for custom page builder meta box
- Disable closing on metaboxes
- Static page determines as home, but it is not
- Changing default ‘posts’ parameters with register_post_type_args
- Admin Column does not populate with data
- How to integrate a form (Ninja Form or Contact Form 7) with Custom Post Types?
- Custom Post Type within the Loop on Homepage (Page Template)
- Prioritize posts in query by meta keys?
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Show Custom Post Type meta boxes only on Page Edit
- Cannot save CPT meta box
- How to make custom taxonomy into drop down select in a custom metabox
- Adding Page Templates to post but it ignored it