niphell adlı üyeden alıntı: mesajı görüntüle
sizin aradığınız zaten o formdur. sadece wp_insert_post fonksiyonunu değil aşağıdaki fonksiyonu kullanacaksınız
<?php
$time
= current_time('mysql', $gmt = 0);
$data = array(
'comment_post_ID' => 1,
'comment_author' => 'admin',
'comment_author_email' => 'admin@admin.com',
'comment_author_url' => 'http://',
'comment_content' => 'content here',
'comment_type' => ,
'comment_parent' => 0,
'user_ID' => 1,
'comment_author_IP' => '127.0.0.1',
'comment_agent' => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)',
'comment_date' => $time,
'comment_date_gmt' => $time,
'comment_approved' => 1,
);
wp_insert_comment($data);
?

Kardeş Benim Attıgım Kodlara Göre Ayarlayıp Atabilir misin.Kodlardan Pek Anlamadıgımı Söylemiştim.Bu konuda yardımcı olursan sevinirim.