The reason is nest form tag.
Admin Post Lists is huge form and I added form tag. That’s why it didn’t work.
Simple way is using ajax and wp_update_post.
Related Posts:
- Displaying the number of updates available in the Admin area
- Remove a menu item created by a plugin
- How to remove Customize from admin menu bar after WP 4.3
- Modify Admin Bar Link
- Run functions only in the admin area?
- difference between add_object_page and add_menu_page
- Remove Menu Page Giving Error
- Print Dashboard menu name and link
- Logout hyperlink within a sub-menu
- Add Featured image column into wordpress admin on pages AND posts
- Change position of media in admin menu
- Move ‘current-menu-item’ class on #adminmenu li from Posts to Pages for Taxonomy Edit Screen
- Creating A New Admin Menu Tab For Theme Options
- How to change a specific admin label
- Which method is more correct for removing WooCommerce Extensions menu item?
- Hide certain post types from editors
- How to add next height number in Order Attributes inside the Add new page. [duplicate]
- add_role menu pages are not visible
- Function Reference for custom link in Admin Menu Management Page
- plugins_url vs plugin_dir_url
- Get list of years when posts have been published
- Redeclare a function in a child theme
- Where and how to put inline js in pages
- Is it possible to remove the “standard” post format?
- Do WordPress’ cron’s clean up expired transients?
- How to add first name & last name to default registration form?
- Masking logout URL
- How can I programmatically create “child” pages on theme activation?
- Warning/Notice about functions.php
- Is checking whether the blog is installed necessary?
- Replace Archive Widget Link Text
- WP disobeys disabling of the posts revision feature
- How do I deactivate a plugin for some roles
- How to display more audio file ID3 tags in WordPress
- Searching for content post
- Running CRON on Server with WP Function
- Using separate .php file for functions – how to run on site?
- How to add custom fields to my custom registration form
- How can I change the do_action function in footer (copyright area)
- How to display post content instead of excerpt
- Access Plugin data from Functions.php
- Having a Function Inside of the Loop
- how to call a function only in specific pages and exclude it from other pages
- Which action does wp_update_user triggers?
- Use register_setting() in a loop
- Dynamic dropdown from database table
- Add dynamic links in WordPress custom theme
- WordPress website Rs changed to currency symbol
- How to change the order of Jquery in the footer of my theme?
- Functions in custom theme
- Attempt to change jQuery version caused White Screen of Death
- check if author has published posts in custom post type, then send mail
- media resize/crop possibilities?
- paginate_links() don’t properly work in search.php?
- Difference b/w Simple function call & do_action call
- What’s wrong with my use of plugin_url()?
- Hook into a function without a hook?
- Insert template-part inside the content
- Filter yoast canonical add_action priority [closed]
- Should I store functions in separate folder?
- How can I modify the element on all pages?
- AMP – Change rel=”canonical” from functions.php [closed]
- Add unique id to Preview URL
- the_password_form functions not working together
- Latest Foursquare Checkin function
- PHP 7.1 | Warning: A non-numeric value encountered in
- Way to redirect all Product Sub Category to its Main category Page?
- Convert multiple logos into the_custom_logo
- Fatal error: Call to undefined function is_even()
- How to use parent theme functions in child theme functions.php file?
- search form leads to 404
- How to hide WooCommerce product title and short description to non logged in users?
- How to loop while adding data to database?
- Bulk updating a group of WordPress Pages every 10 minutes
- localize_script but data changes dependent on product ID
- remove_filter function to unhook twentysixteen parent theme function
- Can we have conditional CSS styling?
- Change function without filter hook
- is_email gives me error
- How to add javascript code into Divi child theme?
- Using AJAX on frontend: Synchronous XMLHttpRequest deprecation except for admin role
- how can I change the read more link destinations and direct all to the same page?
- Will dequeueing in child theme functions.php file prevent Google Fonts from loading?
- Graphic before title – Specific Category
- Edit meta fields from within template
- What to do to have access to WordPress functions
- Adding a meta box fields to child theme options page
- Changing the color of post title [closed]
- How to programmatically GET (to know) which Sidebar (or) which Menu is being used on Different Pages?
- Create html from function
- Admin Panel errors because of functions.php
- WordPress not performing direct update
- Using Output from one Function and calling it into another
- How to add a class and title attribute to the link generated by next/previous post
- “Headers already sent” while trying to add a CSS file to my login page?
- Remove theme, change theme button and WP version on “Right Now” admin dashboard?
- Making an under maintenance page (without using plugins)
- Image width issue in IE [closed]
- function to show youtube videos within excerpt – if condition and apply_filters
- sort by date in users