[buddypress-trac] [BuddyPress Trac] #7181: UI to Add New Member Type in wp-admin

buddypress-trac noreply at wordpress.org
Mon Sep 21 01:09:22 UTC 2020


#7181: UI to Add New Member Type in wp-admin
------------------------------------+-----------------------
 Reporter:  mercime                 |       Owner:  (none)
     Type:  enhancement             |      Status:  reopened
 Priority:  strategic               |   Milestone:  7.0.0
Component:  Members                 |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+-----------------------

Comment (by imath):

 In [changeset:"12728" 12728]:
 {{{
 #!CommitTicketReference repository="" revision="12728"
 BP Types: introduce type metadata registration & add a Member type one

 - Introduces the `bp_register_type_meta()` function to register metadata
 for the Type taxonomies.
 - Introduces the `bp_get_type_metadata_schema()` to get common to all
 types metadata properties.
 - Adds the `bp_register_type_metadata` hook. Hook to it to register the
 Member type metadata.
 - Introduces the `bp_get_default_taxonomies()` to list the BuddyPress
 default taxonomies (BP Email & Member Type taxonomies).
 - Improves `bp_register_default_taxonomies()` so that it use the previous
 point new function.
 - Adds labels and arguments to the Member Type taxonomy.
 - Introduces the `bp_get_taxonomy_common_args()` to retrieve common BP
 Taxonomy arguments.
 - Introduces the `bp_get_email_tax_type_args()` &
 `bp_get_member_type_tax_args()` so that the BP Email & the Member type
 taxonomies use it to retrieve its arguments enjoying the previous point
 new function.

 Props mercime, DJPaul, dcavins, boonebgorges, tw2113, sbrajesh

 See #7179
 See #7181
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7181#comment:19>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list