Support » Plugin: Get User Custom Field Values » Display Fields For (Any) User

Viewing 1 replies (of 1 total)
  • Plugin Author Scott Reilly


    WordPress & Plugin Developer

    @mvpacific : Hi,

    Just so I’m clear, you would like to get fields by the name of the field itself and not necessarily according to a specific user?

    Could you provide an example of what you’d like to get back from the proposed function/widget you’d use?

    Say for instance all 100 users of the site have a ‘favorite_color’ custom field. What return or display would you expect when requesting values related to ‘favorite_color’?

    I guess you might be suggesting a method with the following signature:

    function c2c_get_all_user_meta( $field, $count='', $before='', $after='', $none='', $between='', $before_last='', $order="ASC")

    Here $count indicates how many user meta values to return and $order is how to order the results (ASCending or DESCending). Results would be ordered according to the custom field value.

Viewing 1 replies (of 1 total)
  • The topic ‘Display Fields For (Any) User’ is closed to new replies.