[wp-trac] [WordPress Trac] #24273: Provide a way for Theme/Plugin developers to get a list of user contact methods

WordPress Trac noreply at wordpress.org
Mon May 6 16:15:54 UTC 2013


#24273: Provide a way for Theme/Plugin developers to get a list of user contact
methods
-------------------------+-----------------------------
 Reporter:  johnnyb      |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Users        |    Version:
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 When templating an author page it is useful to be able to provide a list
 of social media links. There's great support for adding custom links using
 the user_contactmethods filter, but there's no public way to get a list of
 those contact methods without the user's other info mixed in.

 There is a private function _wp_get_user_contactmethods(), that does this.
 Why not make it public?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24273>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list