Redirect after post or edit post
-
Replace line 200 which is:
redirect_post($post_id); // Send user on their way while we keep working
with
wp_redirect( admin_url(‘post-new.php’) );// Send user on their way while we keep working
This will redirect the user after editing a post or creating a new one to post-new.php, which makes it create another article.
- The topic ‘Redirect after post or edit post’ is closed to new replies.