$urlcom='7878.ru';
$url=get_comment_author_url( $comment_ID );
if (strpos($url, $urlcom) !== false)
printf( '<cite class="fn" itemprop="creator">%1$s</cite>',
get_comment_author_link(),
// Adds Post Author to comments posted by the article writer
( $comment->user_id === $post->post_author ) ? '<span> ' . __( 'Post author', 'themonic' ) . '</span>' : ''
);
else
printf( '<cite class="fn" itemprop="creator">%1$s</cite>',
get_my7_comment_author_link(),
// Adds Post Author to comments posted by the article writer
( $comment->user_id === $post->post_author ) ? '<span> ' . __( 'Post author', 'themonic' ) . '</span>' : ''
);
Как переделать код на массив, чтобы проверялись все адреса до совпадения, указанные в списке, а не как сейчас только 7878.ru