Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
PUM_Integration_Form_ContactForm7::get_form_selectlist()
Returns an array of options for a select list.
Description Description
Should be in the format of $formId => $formLabel
Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
Return Return
(array)
Source Source
File: classes/Integration/Form/ContactForm7.php
public function get_form_selectlist() { $form_selectlist = []; $forms = $this->get_forms(); foreach ( $forms as $form ) { $form_selectlist[ $form->ID ] = $form->post_title; } return $form_selectlist; }
Expand full source code Collapse full source code View on Trac