‘;
$defaultCats .=’
} } } else{ foreach ( $default_search_cats as $catTermID ) { $term = get_term_by(‘id’, $catTermID, ‘listing-category’); $catIcon = listingpro_get_term_meta( $term->term_id,’lp_category_image’ ); if(!empty($catIcon)){ $catIcon = ‘‘; } echo ‘
} } ?>
echo ‘term_id.'”>- ‘.$childLoc->name.’‘;
$argsChildof = array( ‘order’ => ‘ASC’, ‘hide_empty’ => false, ‘hierarchical’ => false, ‘parent’ => $childLoc->term_id, ); $childLocsof = get_terms(‘location’, $argsChildof); if(!empty($childLocsof)){ foreach($childLocsof as $childLocof) {
echo ‘term_id.'”>— ‘.$childLocof3->name.’‘;
}