I want to get category id by name so I am using get_term_by
This is working fine when name is simple but when '&' is coming in term name it is not fetching category id.
e.g I have a term named "Website Development & Designing" under skills taxonomy and I am using following query to get its term id.
$value = "Website Development & Designing" get_term_by('name',$value,'skills');
but it does not return term object :(