Tagged: query select db
- This topic has 3 replies, 2 voices, and was last updated 7 years, 4 months ago by
Steve.
-
AuthorPosts
-
-
October 1, 2014 at 8:45 am #2508
seansterMemberHello, 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.
-
October 1, 2014 at 2:19 pm #2509
SteveKeymaster@seanster– You can use any standard WordPress function to grab data from the db.
get_post_metaetc.
What sort of data do you want to retrieve?
-
October 1, 2014 at 10:06 pm #2510
seansterMember@ 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
-
October 2, 2014 at 9:54 am #2511
SteveKeymaster@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.
-
-
AuthorPosts
- You must be logged in to reply to this topic.