<div class="fes-vendor-dashboard-con">
<?php if ( EDD_FES()->vendors->user_is_status( 'pending' ) ) {
	$redirect_to = get_permalink( EDD_FES()->helper->get_option( 'fes-vendor-dashboard-page', get_permalink() ) );
	$redirect_to = add_query_arg( array(
		'task' => 'logout',
	), $redirect_to );
	?>
	<p><?php printf( __( 'Your application has been submitted and will be reviewed. Click %1$shere%2$s to logout.', 'edd_fes' ), '<a href="' . esc_url( $redirect_to ) . '">', '</a>' ); ?></p>
<?php } else {
	$base_url = get_permalink( EDD_FES()->helper->get_option( 'fes-vendor-dashboard-page', get_permalink() ) );
	wp_redirect( $base_url );
	exit;
} ?>
</div>
