Page Builder Summit Limited Time Offer - 20% OFF! Use coupon PBS20 - View Details

wsf_form_get_all

Description

The wsf_form_get_all PHP function returns an array of all form objects. This excludes trashed forms.

Usage

wsf_form_get_all( $published, $order_by );

Parameters

  1. $published Boolean
    Whether to return published forms.
    Default value: false
  2. $order_by String
    Which form parameter to order the array by.
    Default value: label

Return

$form_array Array
An array of form objects.