One option is to use Ajax. I wrote this tutorial on how to use Ajax with WordPress and if you follow those steps, you’ll get the general idea. Of course, you’ll have to write some HTML to display the radio buttons, and then in your Ajax Callback function, you’ll want to change the post status to private or publish depending on the user’s response.
Related Posts:
- Update Multiple Post Meta for the Same Post In One call?
- Comparisson between date() and a date from wp_postmeta
- Show the “ratingValue” and “ratingCount” values of KK Star Ratings Plugin
- Updating post meta for custom post types
- How can I add a custom meta value on file upload?
- How to get custom field image url of specific size
- How do I add advanced custom fields / meta fields to Elasticsearch? [closed]
- Set attached to state
- How to change ID of an attachment in wp_posts and its related tables correctly?
- Add multiple attributes to product from php
- Make the checkbox meta field checked by default
- Where to hook my plugin’s action
- Is there a filter for get_post_custom()?
- dynamically generating plugin syntax
- Is Wrapping intval() Around esc_attr() Redundant for Escaping Input?
- Create digital-virtual-downloadable WooCommerce products from the frontend using Gravity Forms? [closed]
- What is generating my meta og:description?
- Assign / update custom field value for all posts (How can I assign only to posts without custom field value?)
- How to display the “ratingValue” and “ratingCount” values generated by the KK Star Ratings plugin into my page’s recipe ld+json schema
- get current date + 90 days and checking every day
- How can I change the meta_key for a particular piece of information?
- Bulk update all posts from plugin settings screen
- Meta box losing its value when scheduled post is published
- How to insert multiple postmeta values with one query?
- Mass SQL WordPress Meta Key deletion
- Date format – Meta Box plugin
- get meta value from database by post id
- How to remove bulk actions from custom post type
- Adding custom meta boxes to specified custom post type
- How to select a paragraph other than the 1st to be the post’s excerpt?
- Set Multiple Meta Values as an Array Using dispatch( ‘core/editor’ ).editPost() Call in Gutenberg/JS
- How can I concatenate variables to search results title? [closed]
- Remember the Meta Value With Radio Buttons
- Link Posts to External URL
- Why does “updated_post_meta” did not fire when uploading media other than image?
- What snippet do I need to type to show my ACF field show up on my theme?
- Is there a way to make [Table Of Content] plugin while not using revision data?
- Help to Create a Simple Plugin to make a post
- get_post_meta shortcode returns empty field
- Add an action based on custom post meta field
- how to auto random increment for post view
- How to securely controlling data without keeping it in postmeta?
- “Enable Media Replace” plugin does not update serialized object in WPMeta
- Custom Field used to allow a Free Story; no longer works
- Performance considerations – postmeta table versus new table for custom posts with foreign keys?
- Get and Update Most Meta Value as an array in HTML form
- How to create meta fields with more than 1 relation?
- Get value from an input field and pass into update_meta_data as $meta_value
- How to get post that has non zero or greater than zero meta value
- Delete postmeta when uninstall/delete plugin
- Same Title on two different post type with single custom taxonomy
- How can I make my plugin display custom post meta data on the front end?
- Storing values in Post Meta vs new tables
- Add meta tags with a plugin?
- WordPress User Frontend Editing Custom Fields
- wordpress last all added get meta value by post id
- Get post id in Post Page within Wp-admin
- Output plugin post like system count [closed]
- getting image alt text via ACF plugin in WordPress [closed]
- Update post meta Rest Api
- how to add meta for order in woocommerce
- How can I call a function from one plugin within another plugin?
- Open Source plugin and requires licence
- How to delete the Hello Dolly plugin automatically?
- Where the Nickname is being used in WordPress
- How to use WP-FirePHP extension?
- WP plugin updates
- Yoast SEO blocking/re-initialising longer running process
- How can I rewrite a plugin generated URL?
- template_redirect not being called when using ajax
- WordPress language switcher
- Restore a Plugin’s Default Settings
- Mass Import Users without sending new user notification
- How to generate CSS from a shortcode within a plugin
- Using jquery migrate for plugins incompatible with jquery 1.10.2
- WordPress plugin – Error “Plugin generate 2890 characters of unexpected output when activated”
- What is the correct way to update both WP/plugins/themes without breaking the site?
- How to read individual user’s directory and display content to that specific user?
- Adding a slider captcha to the comment system
- how to access all user dashboard on fronted page [closed]
- Display Swift Snippets in WordPress
- Individual testimonial taxonomy not displaying (white screen)
- How to make WordPress customizable for clients
- “Custom Post Type Permalinks” plugin URL strcuture
- Add script into front from my plugin
- Make thumbnails on product-category pages the same size [WooCommerce] [closed]
- how to change automatic placing of social plugins below content?
- Blocking Plugin Css to load custom in template directory
- How can I create custom in-post templates?
- How to make if statement in react plugin?
- Use a hook or filter, or overwrite this Gamipress function?
- Wp-cron.php firing too many times , even disabled in wordpress wp-config.php,
- Show post object of any page in frontend
- How To Toggle User_Meta in frontend in a form using PHP
- Get only selected custom taxonomy
- WordPress update plugin through Dashboard/Plugins displaying error
- Alter add_meta_box
- Authenticating custom field on login
- Create plugin with form in post and submit it to specific form
- WordPress REST API Visual Composer Shortcodes