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
- Consuming an external API in WordPress?
- How can I import a class privately into a plugin?
- 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
- 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?
- Get product attribute for Simple product in WooCommerce
- Custom Shipping method not showing in checkout
- Modifying Footnote Plugin for Descriptive Title Attributes
- Can’t create term for product attribute
- Add multiple attributes to product from php
- force customers to add only single item to card per purchase EDD [closed]
- How to get subscription key or id using Woocommerce Subscriptions [closed]
- Manually add order item with fixed product_id in WooCommerce
- How can I display a contact form for out of stock products in WooCommerce?
- Auto delete WordPress users according to time
- Add Product Subtitle to Woocommerce Product Page
- woocommerce 3.2.1 not sending order notification emails
- WooCommerce Custom Product to checkout
- Automatically add attributes to woocommerce product?
- Edit Yoast SEO breadcrumbs output [closed]
- How would I go about creating a user ranked post popularity page?
- How to enable specific plugin only based around shop manager role?
- How to fetch products with the price in a page on woocommerce using a form or live search with php
- WooCommerce: Building a page with user input which is used to query order status and external API and return a result
- WooCommerce specifc variations for specific user role [closed]
- Save custom attributes of product in woocommerce
- creating a custom shop page display on archive woocommerce
- Show icons or badges under title on product archives/category pages
- 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 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
- implement custom roles in custom plugin
- How to get brand children with woocommerce brands
- Woocommerce add products to cart
- 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)
- 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
- Cron job shedules replace?
- Change Woo Custom Endpoint Titles from a Plugin
- Custom shortcode being shown in WPBakery backend rather than the block
- Woocommerce – Change variations output
- Configuring default woo commerce login with modal popup
- Automatically check “Enable stock management at product level” to the existing products?
- redirect to a custom page
- 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
- 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]
- Need help saving input fields for Security Deposit plugin in WC Vendors page
- Visual Composer Data Source?
- Woocommerce disable checkout on specific day
- Populate Woocommerce order notes with custom field value
- Woocommerce Product Add-ons – Auto-select first option
- Translate text for empty product
- Adding a script & php to functions.php
- Create Custom Coupon Type
- I want create woocommerec match products columns