apply_filters( "ap_form_{$name}", array $form )

Description #

Register a form in AnsPress.

Parameters #

  • $form
    array Form options and fields. Check @see AnsPressForm for more detail.
    • 'submit_label'
      (string) Custom submit button label.
    • 'editing'
      (boolean) Pass true if currently in editing mode.
    • 'editing_id'
      (integer) If editing then pass editing post or comment id.
    • 'fields'
      (array) Fields. For more detail on field option check documentations.

Changelog #


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