私はすべての私の記事を更新する必要があります。私は店舗の一括アップロードを使用しますが、Webページの投稿/製品では表示されません。私が更新プログラムにヒットすると、投稿/商品が表示されます。
私はWordPressのデフォルトの更新機能を使用すると思います:
// Update post 37
$my_post = array();
$my_post['ID'] = 37;
$my_post['post_content'] = 'This is the updated content.';
//Update the post into the database
wp_update_post( $my_post );
しかし、どのように配列のすべての投稿IDを取得するには?