WebDevStudios / oops-wp

A collection of abstract classes, interfaces, and traits to promote object-oriented programming practices in WordPress.
57 stars 9 forks source link

Feature/content type abstraction #8

Closed jmichaelward closed 5 years ago

jmichaelward commented 5 years ago

This PR combines branches for #3 and #6 into one feature, which will introduce the Taxonomy abstract class to OOPS-WP. The work in here will support #7 as well, which has its own issue branch as it may not be compatible for a 0.2.0 release.

@phatsk and I spent some time pairing on this, discussing how a taxonomy would get registered within a plugin using this class, and what would be a sensible use case for providing defaults and what errors a developer should see if they're extending the class incorrectly. @jrfoell let me know if you have questions or additional feedback for this.

The develop branch will be the next release branch - I need to update the documentation, for which I'll open a separate issue.

Closes #3 Closes #6