thebatclaudio / wp-rest-api-v2-menus

Adding menus endpoints on WP REST API v2
47 stars 22 forks source link

Use get_term instead of get_category for taxonomies #26

Closed Trollhag closed 4 years ago

Trollhag commented 4 years ago

When WP_DEBUG is enabled, get_category throws an error for all other taxonomies.

thebatclaudio commented 4 years ago

Hello @Trollhag, if you send me your Wordpress.org username I'll add you in plugin's contributors!

Trollhag commented 4 years ago

Hey @thebatclaudio! Its @trollhag, thanks