apply_filters_ref_array( 'ap_generate_form_args', array $form_args, object $form )

Description #

Allows filtering arguments passed to @see AnsPress\Form\generate() method. Passed by reference.

Parameters #

  • $form_args
    array Form arguments.
  • $form
    object Current form object.

Changelog #

VersionDescription
4.1.0Introduced.

Source #

File: lib/class-form.php

2 Comments

  1. I had 4.0.5 and it was working fine . with 500 questions. After updating to 4.1.0 I am receiving error ! in the anspress options , I receive the message that some pages doesnot exist. set automatically or manually . (i tried both , none working !!)

    finally I downgraded to 4.0.5 and again every thing is working! … what’s going on? you are scaring me. how can I rely on this plugin anymore? the stability is the most important thing for a content-based plugin like ANSPRESS. even more important than new features…

    Reply
    1. Hello Hossein,
      No need to panic you can read post for more detail:
      https://anspress.io/blog/new-form-and-validation-classes-introduced-in-anspress-4-1-0/

      You just have to set pages in AnsPress options.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment