SOLVED (Credits will be added in 10 min.)
I have a custom post type script in my functions.php (Wordpress) of which I do not understand its meaning.
$query_args = array(
'posts_per_page' => 5,
'post_type' => $is_some_page ? CPT_ONE : CPT_TWO,
'post_status' => 'publish',
'paged' => 1
);
The script is loading perfect, no problems there.
Problem: I would like to add an additional post_type but I don't understand the :
symbol... What is its meaning? And how to add more?
This doesn't work:
'post_type' => $is_some_page ? CPT_ONE : CPT_TWO : CPT_THREE,
EDIT: Thanks for having a look and changing the labels for the question. Many thanks to everybody else for pointing me in the right direction with the operators.