The form is generated in file wp-admin/edit-form-advanced.php
. The relevant code starts at line 410 (WP version 4.0.1). Inside the <form>
tag an action is fired: <?php do_action( 'post_edit_form_tag', $post ); ?>
so it should be easy to use this action by hooking some small function to it from functions.php:
function post_form_novaidate() {
echo ' novalidate="novalidate" ';
}
add_action( 'post_edit_form_tag', 'post_form_novaidate' );
Didn’t test, but should work.
Related Posts:
- add_filter the_content str_replace after shortcode
- Upload Image in a WordPress page using PHP
- My form action url is being prepended with a directory that does not exists
- How to store data from multiple forms using ajax and php
- Why Won’t My Inputs in a form with a Get method work together?
- Input data from email form not going to JSON file
- How to get the value of input hidden html from text editor to custom page template?
- Login to wordpress by clicking a link and specifying usernaname and password in url
- Search WordPress using static html page
- How to execute html code inside php?
- How to add post meta in while loop?
- WordPressUser Submission Form
- Custom forms with HTML
- Cascading dropdown select search based on Parent Page & Child Page
- HTML Form Question
- wordpress form action page not found
- Custom HTML form using PHP – help with ajax/username validation
- navigate back with PHP form submission
- How do I make an HTML table from a database table?
- How to get the custom header image’s alt text?
- Modify previous and next text from pagination links
- How to correctly submit a search form and display the result in an independent page
- Metabox repeating fields – radio buttons not saving correctly
- How to exclude pages from the search results
- How to handle a custom form in wordpress to submit to another page?
- Calling a method from functions.php on a click of a button
- Two posts in same div – WP loop
- Custom WordPress+PHP+MYSQL+AJAX form, submit event not captured by Javascript, but does POST data to the DB
- Getting the dropdown menu to redirect to different pages?
- To echo or not to echo?
- Correct syntax to html php conversion
- Using Multiple Submit buttons to trigger customised php functions
- How do I let users upload files to a chosen location?
- Getting a specific post values to another div or modal
- search and replace preword from author
- Embed html in php code
- WP grandchild categories in nested ul li
- Modify HTML structure of fields in woocommerce checkout form
- Ajax call return 404
- Settings API callback function inserts html quotes from nowhere
- How create a Shortcode with hover and complex options
- WordPress Multiple Navigation bars
- Position banner to right of logo in header – messed up my header file
- Styling my own password protected page, how to deal with wrong password?
- Make PHP work with HTML tags
- Function returns text instead of html [closed]
- Printing HTML codes
- How i can get post data from database when i am getting post id from url in wordpress
- wp_insert_post() with HTML tags using PHP
- Where can I find the inline-css of my theme header?
- Make textarea required. Help [closed]
- How to display success message correctly and delete it when the page is refreshed
- Using admin-post.php for admin form but it directs me to admin-post.php white screen
- Remove   from the_excerpt
- Website completely messes up when logging out
- Calling PHP Titles inside Javascript Markup
- How can I use custom menus with a Bootstrap WordPress theme?
- form built dynamically with php, not submitting
- Search only working on front page (index) , not working on other pages
- form $_post action value gets truncated after it passes through two forms
- What should I write in the post action of this front end post form?
- Wrap title and excerpt in a div (latest posts block)
- Contact form – problem with displaying message about sent mail
- html form: redirect page after form completes submit function and posts data
- WordPress Post Block Element not properly parsed with the_content filter
- WordPress Custom Form – Getting Query Vars, Weird Glitch?
- Trying to update Woocommerce meta values
- Add other class content with reference class value
- Configure WordPress to Use Responsive Image Rendering
- Form from within a page
- HTML comment cause issue in functions.php script root
- Slug duplicates once clicking on link
- I want to retrieve the email or username data entered for password reset, but failed. how can I do it?
- How to find and delete a menu item in php?
- My single.php page skips the first div tag
- opens like sitename.com/URL
- WordPress Slider is not working
- How to display post meta bellow every posts
- form submission reverts to index.php template
- Woocommerce custom attributes list help
- Creating a WordPress addon for ContactForm7 submission (.XML file export)
- Switch position of elements in the footer [closed]
- Can’t get_users info by using json_encode
- scroll scrpit to particular button position to next id when click button
- Adding action item to admin users table and sending email
- WordPress HTML Helper
- Automatically create a loop for post ID
- get_post_meta is always empty when I use wp_mail
- Display default WordPress login/registration form into a modal window
- Trouble using wordpress functions in a pop-up modal form
- custom contact form no longer working (because of 3.2?)
- ajax form function error
- Send foreach $_post method to contact form 7 [closed]
- Implement “No related posts for this entry” into the loop?
- ACF repeater image in video poster with jquery
- Advanced Custom Fields Show PHP in Text Areas
- Use HTML Form Data in PHP Function – WordPress Admin Page
- Contact form with dynamic dropdown and filter
- Putting form result in my database
- How to create different templates for woocommerce single-product.php?