wordpress/wp-content/themes/basic/themify/themify-utils.php
/**
	 * Returns all IDs from the given taxonomy
	 * @param string $tax Taxonomy to retrieve terms from.
	 * @return array $term_ids Array of all taxonomy terms
	 * @since 1.5.6
	 */
Returns all IDs from the given taxonomy
@param string $tax Taxonomy to retrieve terms from.
@return array $term_ids Array of all taxonomy terms
@since 1.5.6
Returns all IDs from the given taxonomy @param string $tax Taxonomy to retrieve terms from . @return array $term_ids Array of all taxonomy terms @since 1 . 5 . 6
function themify_get_all_terms_ids($tax = 'category') {
		if ( ! $term_ids = wp_cache_get( 'all_'.$tax.'_ids', $tax ) ) {
			$term_ids = get_terms( $tax, array('fields' => 'ids', 'get' => 'all') );
			wp_cache_add( 'all_'.$tax.'_ids', $term_ids, $tax );
		}
		return $term_ids;
	}
function themify_get_all_terms_ids ( $ tax = 'category' ) { if ( ! $ term_ids = wp_cache_get ( 'all_' . $ tax . '_ids' , $ tax ) ) { $ term_ids = get_terms ( $ tax , array ( 'fields' => 'ids' , 'get' => 'all' ) ) ; wp_cache_add ( 'all_' . $ tax . '_ids' , $ term_ids , $ tax ) ; } return $ term_ids ; }
Returns all IDs from the given taxonomy
 @param string $tax Taxonomy to retrieve terms from.
Returns all IDs from the given taxonomy @param string $tax Taxonomy to retrieve terms from .