You have to register your quick edit custom box:
function display_custom_quickedit_book( $column_name, $post_type ) {
// it would be a good idea to add a nonce here
?>
<fieldset class="inline-edit-col-right inline-edit-book">
<div class="inline-edit-col column-<?php echo $column_name; ?>">
<label class="inline-edit-group">
<!-- here goes your input -->
</label>
</div>
</fieldset>
<?php
}
add_action( 'quick_edit_custom_box', 'display_custom_quickedit_book', 10, 2 );
And then you have to process the input value while saving post. But if that field is already a custom box, then you’ve already modified save_post
to process it, I guess…
And there are a few more tricks with setting values and so on. You can read more on that on Codex: https://codex.wordpress.org/Plugin_API/Action_Reference/quick_edit_custom_box
Related Posts:
- Redirect to another page using contact form 7? [closed]
- .php file for woocommerce edit category? [closed]
- woocommerce remove coupon link does not work
- Adding discount functionality to the cart
- How to assign a specific service to a specific provider based on location
- Woocommerce list variations that are added already to cart in Single Product
- Should all plugins be encapsulated in a Class?
- Consuming an external API in WordPress?
- How can I import a class privately into a plugin?
- How do I extend one plugin I’m writing with another I’m writing using classes?
- Generate custom output for page/URL in a plugin
- WooCommerce create new product and add to cart on form submit
- Updating WooCommerce variable product stock issue
- Post source link plugin – small modification
- Add CSS animation as Preloader to WordPress
- How to list the Hooks and order of execution in current loading page? [duplicate]
- How to save Clicks of a download link button while it doesn’t matter if we refresh the page or again login/logout
- How to set value/term of a Woocommerce attribute text field in admin panel?
- How to add product images using script?
- Get product attribute for Simple product in WooCommerce
- Setting up widgets in wordpress with a unique ID for the after_title argument
- Custom Shipping method not showing in checkout
- Modifying Footnote Plugin for Descriptive Title Attributes
- Sort products without thumbnail in WooCommerce shop page
- Create or Update thousands of woocommerce products via PHP
- How to Replace Words with Hypertext Link But Ignore Previously Existed Links?
- Can’t create term for product attribute
- PHP Error When a plugin is active
- Inserting custom PHP script on homepage
- Show icons or badges under title on product archives/category pages
- WordPress Stock Update Programatically
- Woocommerce Backend Search by Title and SKU
- Loop in elementor custom widget not working
- WooCommerce Shopping Cart Not Initially Showing Products [closed]
- How to add a new column with text fields to WooCommerce Cart List?
- How to include a custom field in the woocommerce email?
- How to display registered customer list as dropdown in WooCommerce checkout?
- How to change WooCommece variation data programmtically [closed]
- Getting a ressource ID, from a WC_Order_Item_Product/Order
- Customize Menu | Styling LESS/SCSS code formats
- Override a Plugin Function
- Why is it important to check for isset and is_array before checking in_array in this example?
- dynamically create callback functions inside a for loop
- Comment “like” problem – “users who like this” avatar linking to current user profile instead of “liker’s” profile
- Add key and value to an array in another file
- Calling a save function from a “submit” button
- Custom search search does not work?
- How to change layout of shop page in wordpress? [closed]
- I want to filter my products with attributes [closed]
- same user role or copy the user role to be same as the other role
- How to fix these PHP Warnings with the “Feed JSON” plug-in?
- Automatic recurring payment using YITH subscription and Dokan Stripe
- Get product categories and add them to a custom taxonomy
- How to makes changes on the shop/category/tag pages but not on the product pages in woocommerce?
- Hide fields in woocommerce settings
- How to add custom plugin data to the cart in woocommerce using custom button on product page?
- implement custom roles in custom plugin
- How to get brand children with woocommerce brands
- Display top level parent category as a single product body class (Woocommerce)
- Show prices with tax Inclusive in Minicart widget
- Woocommerce add products to cart
- Post source link plugin – small modification
- Plugin which unlock free gift when you reach some amount in cart
- is there a way to display product gallery images via cdn
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- Changing wordpress/woocommerce notices default message to other languages (text)
- How can I find related learndash course id from woocommerce product object?
- Precheck fields when I add a new post
- Rename a folder via HTML POST request
- Google Maps for Woocommerce Checkout
- Move plugin pages from dashboard to front-end
- working code, not working – Plugin Dev
- Easiest way to load/fire a handful of functions, IF checkbox is checked?
- my hook or my function wont run in the cronjob
- Cron job shedules replace?
- Add a WooCommerce Product Variant with attributes programmatically
- Change Woo Custom Endpoint Titles from a Plugin
- Custom shortcode being shown in WPBakery backend rather than the block
- Woocommerce – Change variations output
- Move plugin upload folder from mywebsite.com/wp-content/uploads/pdfuploads to mywebsite.com/pdfs?
- Configuring default woo commerce login with modal popup
- Automatically check “Enable stock management at product level” to the existing products?
- Change (replace) word in metabox
- redirect to a custom page
- Flexslider empty slide
- Change pricing in Woocommerce based on Category and Product [closed]
- How to change the product short description for each product with PHP?
- Custom SportsPress list
- Problem with conditional woocommerce custom checkout field
- How to allow customers to input a text as a product variation *and* charge per character?
- Woocommerce: deleted single-product.php, everything still works. How is it possible?
- How to fix vanilla comments extra iframe space
- I want to remove the register/login WordPress top bar from my website
- Unable to show 4 products in a row
- How to delete remain data in WP database after deleting custom post via admin interface
- Move related products after product summary? [closed]
- Woocommerce quick checkout form [closed]
- is_plugin_active() not defined on active plugin, in the thumbnails.php file
- How to execute init or woocommerce_init only for checkout page
- Need help saving input fields for Security Deposit plugin in WC Vendors page