• Resolved alexd100

    (@alexd100)


    Hi, love the plugin! I’m trying to display multiple User Roles of the current logged in user using the following:

    [vg_display_data key=”wp_capabilities” data_source=”user_meta”]

    (wp is actually replaced with my database prefix) and it returns the word ‘Array’ rather than the array list itself. How can I get it to display the list of roles?

    • This topic was modified 5 years, 8 months ago by alexd100.
Viewing 1 replies (of 1 total)
  • Plugin Author Jose Vega

    (@josevega)

    Hi Alex

    I released an update. Please install it.

    This shortcode will work:
    [vg_display_data key="roles" data_source="user_data"]

Viewing 1 replies (of 1 total)

The topic ‘User Roles Array’ is closed to new replies.