Datasources for terms, posts, etc
sc0ttkclark opened this issue · 2 comments
sc0ttkclark commented
Controls that offer options (muli-checkbox, radio, select) should accept a datasource as an alternative to passing 'choices' an array, or extending the control with your own choices method to build it dynamically.
They should accept a new Datasource class which we should build in support for a few of the main data sources in WordPress such as Posts, Terms, Users, Comments, Post formats, etc..
sc0ttkclark commented
Talking with @mboynes next week about this some more too, @tomharrigan may have some thoughts as well, given they are both involved with Fieldmanager which does have Datasource classes.
sc0ttkclark commented