If you look at the wp_query
documentation you will see that it is possible to pass multiple arguments as post_type
. Like this:
'post_type' => array( 'module', 'lessons' )
If you look at the wp_query
documentation you will see that it is possible to pass multiple arguments as post_type
. Like this:
'post_type' => array( 'module', 'lessons' )