Autonami_Helpers::get_tags()
Method get_tags
Return Return
(void)
Source Source
File: src/integrations/autonami/helpers/autonami-helpers.php
public function get_tags() { $bwfcrm_tags = \BWFCRM_Tag::get_tags(); $tags = array(); foreach ( $bwfcrm_tags as $tag ) { $tags[] = array( 'value' => $tag['ID'], 'text' => $tag['name'], ); } usort( $tags, array( $this, 'sort_by_name' ) ); return $tags; }
Expand full source code Collapse full source code View on Github