/* Prevent Current Post from Module */
function prevent_current_post_from_module( $args ) {
if ( is_array($args['post__not_in']) ) {
array_push( $args['post__not_in'], get_the_ID() );
} else {
$args['post__not_in'] = (array) get_the_ID();
}
return $args;
}
add_filter( 'jnews_default_query_args', 'prevent_current_post_from_module' );