Ecco come ho risolto se a qualcuno può far comodo
//inizializzo nuova variabile
$pette_face = $post_content;
//aggiungo variabile
$pette = substr($pette_face, 0,1);
if ($pette == "["){
$opengraph_meta .= "n<meta property="og:description" content="" . $site_name. " - " .$post_title . "" />";
}
else {
$opengraph_meta .= "n<meta property="og:description" content="" . $post_content . "" />";
}
con il plugin 1-click….
però nel momento in cui aggiornano il plugin devo sempre aggiungere il codice…non si può aggiungere la funzione al file functions.php?
grazie