Prints a ‘novalidate’ attribute for the post form if conditions are met.
Description
See also
Parameters
- $post
-
(WP_Post) (Required) Post for which the form is currently being printed.
Source
File: src/db-objects/forms/form-edit-page-handler.php
public function maybe_print_post_form_novalidate( $post ) { $form = $this->form_manager->get( $post->ID ); if ( ! $form ) { return; } echo ' novalidate="novalidate"'; }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |