How can I save an array from a random post sequence for later use?
My suggestion is to store the workouts as a new entry inside the particular user’s meta data. » Saving a single workout Suppose the workout consists of the exercise IDs 1, 3, 5, 9. Then the code is: // this is the current workout $workout = array(1, 3, 5, 9); // get the current user … Read more