After an WP_insert_posts array has been executed how do I then redirect the browser to that post.
Many Thanks,
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityTry the following:
$post_id = wp_insert_post( array( 'your', 'args', 'here' ) );
$link = get_permalink( $post_id );
wp_redirect( $link );
die();