Skip to content
Advertisement

Tag: wp-mail

separate resulting values from a foreach with commas

I am saving values with add_user_meta within the same meta key. What I need is to separate them with commas when getting them with foreach so I can send them by wp_mail. I need something like this: but when obtaining them directly, it returns them all together and glued. some help? Result: I tried some options, but the comma in

Advertisement