La funzione và benissimo, però ho dei problemi quando gli passo questa stringa, è possibile che non me la vede?
Codice PHP:$post_content = "<a href=\"" . $post_url . "\" target=\"_blank\" count=\"title\"><img src=\"" . $rel_path . $fileuploaded . "\"border=\"1\" width=\"220\" height=\"320\"><\a>" ;
Codice PHP:function wp_ozh_click_modifyhrefs ($input) {
$input = preg_replace_callback ("/<a ([^>]{1,})>(.+?<\/a>)/", "wp_ozh_click_do_posts", $input);
return $input;
}

Rispondi quotando