|
@@ -167,7 +167,6 @@ discard block |
|
|
block discarded – undo |
|
167
|
167
|
* Returns the list of available forms |
|
168
|
168
|
* |
|
169
|
169
|
* @access public |
|
170
|
|
- * @param mixed $form_id |
|
171
|
170
|
* @return array Empty array if GFAPI isn't available or no forms. Otherwise, associative array with id, title keys |
|
172
|
171
|
*/ |
|
173
|
172
|
public static function get_forms() { |
|
@@ -188,7 +187,7 @@ discard block |
|
|
block discarded – undo |
|
188
|
187
|
* Return array of fields' id and label, for a given Form ID |
|
189
|
188
|
* |
|
190
|
189
|
* @access public |
|
191
|
|
- * @param string|array $form_id (default: '') or $form object |
|
|
190
|
+ * @param string|array $form (default: '') or $form object |
|
192
|
191
|
* @return array |
|
193
|
192
|
*/ |
|
194
|
193
|
public static function get_form_fields( $form = '', $add_default_properties = false, $include_parent_field = true ) { |
Please login to merge, or discard this patch.