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
- Do I need a nonce field for every meta box I add to my custom post type admin?
- Restrict custom post type to only site administrator role
- Help Creating a Slideshow Custom Post Type with Custom Meta Boxes?
- Custom Post Type – Taxonomy Dropdown Menu?
- WordPress REST Create Post of Custom Type
- How to add multiple images to custom post type?
- How do I remove all the metaboxes for a custom post type?
- Creating a Custom Post Types dropdown in a Meta Box
- Limit the post for differents custom post type in the same wp_query
- Dynamic page.php template for custom post types
- WordPress metabox file upload in custom post [duplicate]
- Display metabox conditionally
- Assigning a role to a specific custom post type (and ignoring other post types)
- Display posts in random post types
- Display Custom Post Type in Recent Posts
- Displaying custom post type on front page
- Slug for standard post post_type
- Timepicker-addon doesn’t show – Datepicker works fine?
- How do I create an archive page for standard posts?
- Remove parent from custom post type
- Metabox Populated with a Custom Post Type – How to Output CPT based on Select?
- Is it possible to create a post using a metabox?
- WordPress custom meta field for custom post not storing data
- How to add post_type=value when editing that post type in the WordPress admin?
- Open Custom Post Type as PDF
- dynamically add a custom field or metabox to custom post type [duplicate]
- Allow non-logged in users to see a future post after clicking on a list of future posts
- Update Post Meta for a logged in user
- 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?
- 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?
- Adding a metabox on a CPT’s submenu page
- Global custom meta box
- Create new custom post and post category of same name
- Load Next WordPress Posts With AJAX?
- Add a custom meta box for client to order CPT posts how they want
- If there is only one post (show elements) else (show other elements)
- Issue on Working with Metabox – Checkbox to enable Sale Items
- How to make a meta box?
- Forms and WordPress Nonce
- Why do I have to press the “Update” button twice to save my meta box values?
- Prevent custom post type from showing up in custom menus
- Custom post type menu
- Modify Posts from Custom_Post_Type within the plugin
- Creating alternate meta box context locations
- Custom meta box in custom post type not working
- WP_Meta_Query object with conditionals
- how to redirect to a custom post template
- Post/Custom Post Type URL Access
- I can’t connect my custom jquery to wp admin
- Saving meta box data?
- One Custom Post Type two different Templates
- Include a metabox in the ‘home’ screen of a custom post type? If not, then the dashboard page?
- list articles in admin showing nested categories or slugs?
- Define multiple prefixes for custom post type
- How to get custom post type with dynamic ID
- Show posts from WP Custom Post Type selected from a field in a metabox
- Custom metabox with image gallery upload that won’t attach images to post
- order custom post type posts by custom date
- How to show posts of the same category on a page?
- Wp Query sort order from custom MetaBox
- custom post type to post association in wordpress
- Need to display author’s email id in the “Edit post” field in wp dashboard. How do I do this?
- How to get all posts related to a taxonomy?
- call a function when insert and update a custom post type
- How to retrieve custom post type permalink in another cpt?
- Custom Post Type
- do action inside a class is not working
- Popup panel is only displaying 1 entry ignoring all others
- Custom Post Status & Taxonomies
- Search form to find custom meta box generated data
- WordPress Author Posts Review After Every Change In The Same WordPress Post
- Linking custom taxonomies and posts
- Search page for custom post type
- Need to build custom metabox select prev posts by category
- Customized featured image doesn’t refresh in post admin metabox after upload/insert
- Saving custom metabox data with a twist
- Post type cloud like tag cloud?
- Change permalinks for posts but not custom post type?
- Drawbacks of making the default post-type: post hierarchical [closed]
- custom post type with metabox custom fields
- ACF – Tags not showing up in Custom Post Types