How can I separate the value from the price in the entry object of a radio input?
I am using this with the paypal fulfillment hook, and using the selected membership type from a radio field to populate a user meta field, however I am getting something like this:
membership 1|250 i.e. the value | price
Code using:
update_user_meta( $id, 'membership', $entry["2"] );