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.
$cat_id = array(get_cat_id($linearray),get_cat_id($linearray),get_cat_id($linearray),get_cat_id($linearray));
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
$new_text = str_replace('&', '&', $your_string);