Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Autonami_Helpers::get_lists()
Method get_lists
Return Return
(void)
Source Source
File: src/integrations/autonami/helpers/autonami-helpers.php
public function get_lists() { $bwfcrm_lists = \BWFCRM_Lists::get_lists(); $lists = array(); foreach ( $bwfcrm_lists as $list ) { $lists[] = array( 'value' => $list['ID'], 'text' => $list['name'], ); } usort( $lists, array( $this, 'sort_by_name' ) ); return $lists; }
Expand full source code Collapse full source code View on Github