aaemnnosttv / silk

A modern API for WordPress.

Home Page:https://aaemnnost.tv/silk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve PostTypeBuilder label handling with defaults

aaemnnosttv opened this issue · comments

As it is, the methods for setting the singular and plural post type labels only set two keys in the array of labels. Ideally, these methods (or others if it makes more sense) should allow for setting all of the other labels which use them while remaining mutable.

The biggest consideration here is probably making sure that i18n is not sacrificed in the process.