gdtt_get_public_post_types

gdtt_get_public_post_types($with_defaults = false)

  • $with_defaults: to include or exclude default WordPress post types.

Function returns list of objects, but only post types that are set to public.

Comments

Leave a Reply