Support » Plugin: WP-CRM - Customer Relations Management for WordPress » Displaying serialized usermeta field values

  • Resolved wmgillett

    (@wmgillett)


    How can I display the values of serialized fields such as wpwi_capabilities in the person profiles? The wpwi_capabilities values are held in the usermeta table with values such as:
    a:1:{s:8:”customer”;b:1;}

    • This topic was modified 2 years, 11 months ago by wmgillett. Reason: typo

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Hello.

    Did you try to add such attribute to the Data tab? Is that data from some third party plugin?

    Regards.

    I did try to add this data to an attribute in the data tab and it shows up blank or displays an error saying the data is as an array when a text value was expected.
    Data field wpwi_capabilities is part of wordpress core – signifies whether a user is an Administrator, Editor, etc.

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Unfortunately, WP-CRM does not have an option to display that attribute. It could take text values from a third party plugins or WordPress core. If you need that attribute, you will need to customize it’s input.

    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Displaying serialized usermeta field values’ is closed to new replies.