Help with custom meta storage
-
Hi,
I have a business directory with a post-type > business.
I have also created a custom plugin which will be used by logged-in users.
At the moment I have hard-coded the variable value for the custom plugin but I will need it to be brought from, and sent to the db.
Each user will have a number brought from the db (the variable). This number will be updated in the plugin and sent back to the db.
I think creating a new usermeta would be the best way to go but because each user will have a value for every business on the directory, I’m not sure how to create that kind of array.
Just not finding any similar examples on the Google, could someone give me some pointers please.
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Help with custom meta storage’ is closed to new replies.