wp_dropdown_pages doesn’t work with post_type argument

As answered by Steven Jones in the comments, I just want to confirm that the key thing is to specify your custom post type’s settings to be 'hierarchical' => true, not the hierarchical argument in wp_dropdown_pages function.

If you are using a custom plugin like Types or CPT UI, just set the option to true.

tech