Skip to content
This repository was archived by the owner on Oct 24, 2018. It is now read-only.
This repository was archived by the owner on Oct 24, 2018. It is now read-only.

Add get_term_parent shortcut? #4

@einkoro

Description

@einkoro

Much like the WordPress API you have to do two calls to get_term() currently to fetch the parent term of a child. Even though WP doesn't have a shortcut for this we could have one since two GET or POST requests is undesirable.

http://wordpress.org/support/topic/added-terms-controller-to-fetch-terms-by-taxonomy-or-post?replies=3#post-4443989

http://stackoverflow.com/questions/14591491/wordpress-get-current-post-term-parent-by-child-id

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions