Here is the way to find custom post type slug name in your website…
function nst_custom_post() { register_post_type( 'Movie', array( 'labels' => array( 'name' => __( 'Movie' ),
'singular_name' => __( 'Movie' )
)
In this function above.. post type slug is ‘Movie‘
Or you can check by click on any custom post and check in address bar..
That’s All 🙂
If still not cleared then please contact with me using chat box or contact form.
Thanks 🙏