I've a range of groups, some by having an &lifier i.e. occasions &lifier entertainment. My script imports these groups and will get the ID of every having its title. i.e.: $cat_id = array(get_cat_id($linearray[0]),get_cat_id($linearray[1]),get_cat_id($linearray[2]),get_cat_id($linearray[3])); My script then adds a publish to wordpress with such category ID's. My issue is that groups from the import using the &lifier aren't imported. The groups (when an e-mail notice is distributed) break the e-mail in the &lifier. It is possible to simple workaround for this?

When you're writing publish, rather than & you are able to write & there and it'll be converted to & with no problems.

Also you could utilize the str_replace function to transform that to & eg:

$new_text = str_replace('&', '&', $your_string);