Since $course_only_ids
is already an array, you shouldn’t be nesting it inside another:
array( $course_only_ids );
// array( array( 2031, 300, 1919 ) );
Just use:
'value' => $course_only_ids,
Since $course_only_ids
is already an array, you shouldn’t be nesting it inside another:
array( $course_only_ids );
// array( array( 2031, 300, 1919 ) );
Just use:
'value' => $course_only_ids,