私は公開後の日付を更新するボタンまたはリンクを作成する必要があります。更新するにはポストの公開日時をクリックしてください。
私はこれを見つけましたが、私はそれをどのように呼び出すべきかわかりません。
$time = current_time('mysql');
wp_update_post(
array (
'ID' => $id,
'post_date' => $time,
'post_date_gmt' => get_gmt_from_date($time)
)
);
[http://stackoverflow.com/questions/13114270/wordpress-plugin-how-to-をあなたの問題はそれに似ていますので、変更後の日付時間](http://stackoverflow.com/questions/13114270/wordpress-plugin-how-to-change-the-post-date-time) – Ninja