Components as taxonomy
slaFFik opened this issue · 2 comments
slaFFik commented
Members, groups, forums, sites etc - they all should a separate custom taxonomy for one bp_feed
new CPT.
All taxonomies will be registered through an API bpf_register_feed_component()
etc. All taxonomies will be added to DB on registration (with avoiding duplications, of course).
End result:
- BP Feeds top level menu
- Components submenu which is custom taxonomy with a
bpf_component
slug - Every new extension (members, groups, events, forums etc) will register itsуда and that will add a new term record into db to this taxonomy.
- On import every feed item will pass its component and that will assign term_taxonomy to each imported feed item. That will update counters in admin area, and will give ability to query easily.
slaFFik commented
Members Feeds -> BP Feeвы (CPT=bp_feed)
API for registering feeds components => bpf_register_feed_component('slug', $params = []
)
Register members feed component and add custom taxonomy to DB on plugin activation
test - plugin to add groups component
slaFFik commented
Delete terms and taxonomies on plugin data deletion