So I have this code:
$infos['title'] = addslashes("Le Roi D'Australie");
$offer = get_page_by_title($infos['title'], ARRAY_A, 'post');
This doesn't work whereas all the other post I have with no quote are actually working well.
Do you have an answer ? get_page_by_title should escape the title for me.. I must have miss something.
Thank you in advance.