'post_type' => 'custom post type slug'
By default ‘post_type’ is set as ‘post’, you will need to specify your custom post type in any query you make.
In future refer here:
'post_type' => 'custom post type slug'
By default ‘post_type’ is set as ‘post’, you will need to specify your custom post type in any query you make.
In future refer here: