How to get machine name of taxonomy term in code having taxonomy term ID in Drupal 7?
I tried taxonomy_term_load() , but it doesn’t return machine name.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use
pathauto'spathauto_cleanstring() function to clean up the string of your taxonomy term.