Viewing 3 reply threads
  • Author
    Posts
    • #2508
      seanster
      Member

      Hello, in order to perform operations out of the data that is saved in the DB, is there an easy way or helper function to query values quickly into an array?

      I looked around in forum and hlpe files, but couldn’t find anything.
      This function seemed like another way to save data , piklist_get_file_data.

      Any help or code appreciated.

    • #2509
      Steve
      Keymaster

      @seanster– You can use any standard WordPress function to grab data from the db.

      get_post_meta

      get_post_custom

      get_option

      etc.

      What sort of data do you want to retrieve?

    • #2510
      seanster
      Member

      @ Steve, thank you! For some reason I thought the data was saved diffently in an array. Just need data from the user profile, from additional fields.

      By thew way, in the standard user forms, I found remove Twitter, AOL scripts to remove those fields, but can’t see to do that for “URL” and “about me”

      Thanks

    • #2511
      Steve
      Keymaster

      @seanster– In most cases Piklist does NOT save data as an array. The exceptions are add-more fields, and grouped fields with a field parameter defined.

      For User Meta, you can just use the standard WordPress function get_user_meta().

      I just checked wp-admin/user-edit.php and there are no actions to remove those items. You will have to do it with CSS.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.