I’m using Tom McFarlin’s Plugin Boilerplate for the plugins I write and in the main plugin file, there is a conditional statement to keep things as light as possible in the admin:
if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) {
...
}
Since the Quick Edit feature uses AJAX, the column wasn’t being recreated on a Quick Edit save. Changing the above line to:
if ( is_admin() ) {
...
}
solved the problem and the custom column appears when saving via Quick Edit.
Hopefully this helps someone who might run into the same type of issue.
Thanks.
Related Posts:
- How to Add a Third Level Sub Menu to the WordPress Admin Menu
- How to stop showing admin notice after close button has been clicked
- Is There a WordPress Hook to Filter the Edit Posts View?
- Is there any record of installed plugins in the database?
- Add content to /wp-admin/plugin-install.php admin screens
- Plugin Development: WordPress processes twice on post update. How to skip process on the first?
- how to not show plugin in admin area
- How could I execute my plugin just in frontend (not in backend)
- Custom height/width for thickbox in WP Backend
- Hide Theme options and Customize Admin menu
- ‘wp_login’ action hook not working with wp-login.php file
- All Users > User List > Update User Meta Field Inline
- Create tabs in admin options page from custom post type loop
- How to make multiple admin pages for one plugin?
- WordPress Site is Broken, Cannot see wp-admin page [closed]
- How to remove a CPT Menu from the Root Admin only
- Is there a better way of handling AJAX requests in WordPress?
- I cannot include a file in my plugin settings page
- force logged in user to stay in the dashboard
- How can we get this dynamically as this folder may not be by the same name always → wp-admin
- How to properly enqueue jQuery knob on WordPress without conflict?
- Admin menu hilighting wrong item for CPT
- Is admin section completely customizable in terms of styling?
- Store admin page into variable
- Add custom fields in the new and edit the site forms without touching the WP core
- Ajax in Plugins: returns the whole page
- Gutenberg: Dynamic Block – Show saved data in the editor
- Combining JS files to one script
- The Admin page isn’t showing in the sidebar of the dashboard
- warning wp session
- Submitting form to admin-post.php WordPress
- Adding a Taxonomy Filter to Admin List for a Custom Post Type?
- is_plugin_active function doesn’t exist
- Get plugin directory from a theme
- How to call a plugin function from index.php
- Rewriting every url
- How can I make my custom shortcode work in a Custom HTML Widget?
- How Does WordPress Uninclude/Deactivate A Plugin?
- WordPress admin notice in plugin function
- Using the ‘draft_to_publish’ hook (post status transition)
- Building a scalable WordPress favouriting plugin – one serialised meta value array or many meta records
- Setting up WordPress plugin’s page
- How to Create a Directory in a Plugin Folder?
- Declaring script dependencies between scripts enqueued with different action hooks
- Does flush_rewrite_rules() remove all rules added by other plugins as well as mine?
- Custom preview_post_link not working for draft post
- Loading class files via autoload method
- I would like to use create a function in my custom plugin to tell WP to use a different header
- Auto add content such as pages upon plugin activation?
- Hide extra menus from WordPress Dashboard
- WP_Query ordering numbers as letters
- How to change commenter links to /user/user_id?
- Execute a plugin only on post pages
- How to use get_theme_mod in gutenberg editor wordpress?
- Create dynamic page content from custom WordPress plugin page
- Correct way to perform non-cacheable DB query
- WordPress Gutenberg react make import of __experimentalUseInnerBlocksProps which is no more experimetal
- Default WordPress WP Editor removing style tags and html tag
- Adding CSS to custom post type admin page causes error
- Create shortcode to echo javascript
- How to add apply_filter for a class property in plugin
- wp_list_table class is not safe to use
- creating a plug in that would tap into save/update action of posts [closed]
- How to prevent plugins from sniffing/stealing other plugins’ options?
- Hook for page Request?
- Content-Security-Policy Headers are there and showing the correct settings, but still getting a refused connection
- SMTP Error: Could not authenticate [closed]
- How to delete all categories programatically?
- How to use custom Javascript code inside a plugin?
- Adding submenu to custom plugin menu page created with add_menu_page() function
- What is necessary to secure a WP plugin against direct file access attempts?
- Add a Custom Field in Comment Box next to the Text area
- How do you create a re-useable HTML fragment in wordpress
- Does WordPress check for updates of a plugin via plugins root folder name?
- How do i ‘deactivate’ a plugin only on a certain page template?
- Need to add/remove group of options and display them as rows
- Paypal Framework
- Order by post_date does not work in Previous and Next post pagination
- woocommerce: Customize email with item total count
- Fatal error “Call to undefined function is_plugin_active” each time the plugin is activated
- The styles in the recent posts widgets plugin not working
- How to get the checkout form data from checkout page when place-order button is clicked
- Getting Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() when linking to another file within my wordpress plugin
- How to make WooCommerce multiple filter with custom meta fields
- Restrict Custom Post Type to One Item
- Set plugin page as homepage
- Call function when save setting/option in custom admin page
- Plugin to Delete All Posts Monthly
- mailjet plugin – extend functionnalities and reuse api
- Force download a file within plugin file
- Can anyone tell me why I can’t edit a plugin when it is installed without having to re-install?
- Is it possible to run javascript on plugin deactivated?
- Creating fields in the database
- Ajax in wordpress [duplicate]
- Notifications Bar on home page only
- How can I make my plugin detect if a certain theme is active?
- wp_enqueue_script doesn’t load JS in plugin
- AI Code For OpenAI
- WordPress website is redirecting on some different shopping page
- Pulsing circle before the post title (Breaking news flash)