diff --git a/mu-plugins/_core-redirect-on-post-update.php b/mu-plugins/_core-redirect-on-post-update.php new file mode 100644 index 0000000..cd18772 --- /dev/null +++ b/mu-plugins/_core-redirect-on-post-update.php @@ -0,0 +1,27 @@ + get_post_type($post_id)], + admin_url('edit.php') // Posts page + ); +/* + return add_query_arg( + ['post_type' => get_post_type($post_id)], + admin_url('post-new.php') // Add New Post page + ); +*/ +/* + return get_preview_post_link($post_id); +*/ + }, + 10, + 2 +);