PcKOnetwork adlı üyeden alıntı: mesajı görüntüle
hocam işinize yarar mı bilmiyorum, araştırma yaparken görmüştüm.aradığınız kod
$my_post['post_status'] = 'publish'; olabilir mi acaba ?
Teşekkür ederim fakat bu değil

Ergün adlı üyeden alıntı: mesajı görüntüle
// Create post object
  $my_post = array();
  $my_post['post_title'] = 'My post';
  $my_post['post_content'] = 'This is my post.';
  $my_post['post_status'] = 'publish';
  $my_post['post_author'] = 1;
  $my_post['post_category'] = array(8,39);

// Insert the post into the database
  wp_insert_post( $my_post );
daha fazlasi icin bakabilirsin

Bu sekilde ekletebilirsin.
Yalnız siz php kodunu göndermişsiniz... Ben SQL kodu arıyorum.

Teşekkürler her ikinize de fakat bunlar deil aradıklarım...