gdpc_get_post_types

gdpc_get_post_types($result = "object")

  • $result: what to return: name or object.

Get post type names or objects for registered product types.
Function returns: array list of post types names or objects.

Comments

Leave a Reply