slaFFik/bp-feeds

Components as taxonomy

slaFFik opened this issue · 2 comments

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:

  1. BP Feeds top level menu
  2. Components submenu which is custom taxonomy with a bpf_component slug
  3. Every new extension (members, groups, events, forums etc) will register itsуда and that will add a new term record into db to this taxonomy.
  4. 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.

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

Delete terms and taxonomies on plugin data deletion