packages/kirki-framework/core/src/Helper.php
public static function get_terms( $taxonomies ) {
		$items = [];

		// Get the post types.
		$terms = get_terms( $taxonomies );

		// Build the array.
		foreach ( $terms as $term ) {
			$items[ $term->term_id ] = $term->name;
		}

		return $items;
	}
public static function get_terms( $taxonomies ) {
		$items = [];

		// Get the post types.
		$terms = get_terms( $taxonomies );

		// Build the array.
		foreach ( $terms as $term ) {
			$items[ $term->term_id ] = $term->name;
		}

		return $items;
	}
public static function get_terms ( $ taxonomies ) { $ items = [ ] ; // Get the post types. $ terms = get_terms ( $ taxonomies ) ; // Build the array. foreach ( $ terms as $ term ) { $ items [ $ term -> term_id ] = $ term -> name ; } return $ items ; }
Get an array of terms from a taxonomy

@static
@access public
@param string|array $taxonomies See https://developer.wordpress.org/reference/functions/get_terms/ for details.
@return array
Get an array of terms from a taxonomy