What does the below php line of code mean please?
I am trying to understand how the below code impacts the behaviour of the template-parts/post/content.php file in wordpress.
<?php if ( is_single() && ! empty( $category_array ) && !in_array(2, $category_array ) ) : ?>