Pass variable to post meta
-
Is this even possible?
I have a function that outputs a rating (i.e. 7.5 out of 10), and I need to associate it with the post id … I’m thinking storing it in a custom field would be ideal..
but how is this done? Would I just add a custom field to the template and then use the update_post_meta?
- The topic ‘Pass variable to post meta’ is closed to new replies.