[insert_php]
//exit('Access Denied');
!is_user_logged_in() && exit('Access Denied');
$ids = array(381,379,377,375,369,367,365,363,361,373,371,357,359,355,353,351);
$expect_date = '2013-01-09';
foreach($ids as $id) {
$post = get_post($id, ARRAY_A);
list($date, $time) = explode(' ', $post['post_date']);
wp_update_post(array(
'ID' => $id,
'post_date' => $expect_date.' '.$time
));
}
exit('OK');
[/insert_php]
0 / 0
資料讀取中,請稍後