Salve a tutti, dopo un’assidua ricerca provo a chiedere a voi umili esperti …. bando alle ciance, in pratica non riesco a impedire che la funzione di auto link del plugin in questione mi crea più links della stessa parla dentro un articolo, vorrei che in ogni post una parola venga linkata una sola volta.
Ho letto in giro di modificare questa riga:
$token = preg_replace($match, $substitute, $token, 1);
infatti secondo le specifiche PHP 5 (che uso) il 4 ° parametro indica alla funzione preg_replace che deve eseguire il replace solo la prima volta, però niente, il risultato non cambia.