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
- Does the number of downloads displayed for a plug-in in the WordPress.org plug-in directory include automatic updates?
- Why do I get this “plugin does not have a valid header” error?
- Which method is best to enqueue scripts
- Editor access to plugin settings
- How to use a Must-Use plugin to hide a regular one and to hide itself?
- Shortcode display outside the div
- How does wordpress distinguish a plugin’s main php file from other php files? [duplicate]
- Insert code after tag without using functions.php?
- Plugin: How should I handle deleting comments?
- wordpress plugin that show my reputation (points) in any stackexchange project in my wordpress blogs
- Why load_textdomain work but not load_plugin_textdomain?
- Extend the Admin Post/Edit page
- Passing select control value to block
- Can wp_script_is used in pluginA check if a script is being enqueued/registered from pluginB?
- Licensing of freemium plugin
- Why was my plugin rejected from the WordPress.org repository?
- $wpdb working with ajax but showing ajax error instead of success
- Default Plugin Settings Not Writing to Database
- how to Include json manifest file in wp plugin
- Create a custom page template inside my wordpress plugin
- White page on custom plugin option submit
- Unable to override pluggable function wp_mail
- Avoid class name collision when using third party libraries in plugins?
- Plugin development: Buggy plugin preview
- how to use in custom single.php template using php?
- How can I change the meta_key for a particular piece of information?
- Howto check version of another plugin and then add a submenu page to it
- How to test ‘upgrader_process_complete’ hook in plugin development?
- Plugin Not Working After Being Uploaded To WordPress Plugin Repository
- How to make custom plugin run on demand?
- What is the easiest way to rename a plugin (and also avoid plugin updates)
- WooCommerce – set session with new cart item meta when updating cart item quantity [closed]
- Using WordPress to build membership Page
- Set WordPress Transient Expiration via Variable Value
- Override plugin class which has namespace
- Correct Plugin File Path
- strange shortcode error: does shortcodes requires any dependency?
- Plugin create pages and use templates
- Quick press publish post hook
- WordPress cron job running more than once
- How to Add text value in Automatically in this conditions?
- Translation for a text that is not printed on the screen
- Two plugins using the same CSS id
- How to access a wordpress plugin page or add posts without doing it from the WordPress dashboard?
- Critical Error message of WordPress adming
- Clicking custom plugin admin menu redirects to “No Update Required” on live site
- Create new page in wordpress plugin which doesn’t exist
- Use WordPress Plugin without WP head
- The plugin generated 227 characters of unexpected output during activation. If you notice “headers already sent” messages
- How to call a function from class in wp table list button form
- 500 Internal server error wp_handle_upload_prefilter
- Installation failed, trying to install ANY plugin
- WordPress the_content Filter and GET Parameter
- Overwrite js code using WP_Footer
- Fatal error when activating my custom wordpress plugin
- Media Upload to custom database and Custom Directory
- Help Code Review – I need to write on .htaccess file from theme’s function.php
- TinyMCE how to add css when inputing a text
- Need to hide an element depending on date and post category
- How to add a handler for a button in plugin?
- How to show an image popup when one clicks on an image thumbnail?
- Using Taxonomies with Vote It Up plugin chart [closed]
- wordpress last all added get meta value by post id
- wp doesn’t recognize my plugin if I don’t login as WP user (or as WP Admin)
- Possible to add “Template” selector to pages? Is Any Plugins are There..?
- How to Replicate Elementor Licensing Model
- How do I save meta key value in the save function?
- WordPress Plugin and other pages not opening
- /wp-admin/plugins.php takes ages to load, and then 404s