Snippets: Exclude Current Post From Post Series

add_filter( 'wpex_post_series_query_args', function( $args ) {
	$args['post__not_in'] = array( get_the_ID() );
	return $args;
} );

Snippet Type: PHP

All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)