How can I list all custom post types in a block

Question

I want to show the list of all available custom post types in the settings of the block in admin. How can I do that? Later I want to show a dropdown with those post types which user can select and save.

0
Imrul.H 2 years 2020-10-22T14:10:20-05:00 0 Answers 7 views 0

Leave an answer

Browse
Browse