jetpack_forms_enable_ajax_submission

jetpack_forms_enable_ajax_submission

Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.15.0

apply_filters('jetpack_forms_enable_ajax_submission') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form.php line 144
    			$this->current_post = get_post( $contact_form_id );
    		}
    		// phpcs:enable
    
    		$this->is_response_without_reload_enabled = apply_filters( 'jetpack_forms_enable_ajax_submission', true );
    
    		// Set up the default subject and recipient for this form.
    		$post_author_id  = self::get_post_property( $this->current_post, 'post_author' );
    		$default_to      = self::get_default_to( $post_author_id );
    		$default_subject = self::get_default_subject( $attributes, $this->current_post );