Get the value after the pipe in template
-
Hello. I have a problem with getting the value after the pipe from a select field.
The select has some options like:
[select field “option1|A” “option2|B”]I need to get the value after the pipe (A or B) with a function attached to wpcf7_before_send_mail filter.
But in the $posted_data I only get the value before the pipe.
Is there a way to get the value after the pipe?
Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Get the value after the pipe in template’ is closed to new replies.