Is there a way I can build a page for an end user to choose an item, from a list of items which can be saved and then referenced by a PHP function?
For example:
I need to provide Gravity Forms a form recipient email address based on the oncall user who’s been selected in the front end of the site.
So using the filter below, I’d need to write a function that get’s the current oncall persons info from a page that the client has chosen from a list.
add_filter( 'gform_notification', 'your_function_name', 10, 3 );
I’m not asking how to write the function, but rather how do I create a list where the selection can be stored and retrieved by a function?
I hope this makes sense. I’m new to all this 😀