Support

Account

Home › Forums › Front-end Issues › get slug field taxonomy type › Reply To: get slug field taxonomy type

  • Hi @donnafefe

    You can do this to get the slug from the term id:

    
    <?php	
    $corso_id = get_field('corso', 'user_'.$current_user->ID );
    $corso_term = get_term($corso_id);
    $corso_slug = $corso_term->slug;