You are hooking select_age()
to wpcf_after_init
which more than likely does not accept two arguments. I am not sure why you are hooking into that hook but it is not necessary for a shortcode, nor is there any obvious reason in the code.
You are hooking select_age()
to wpcf_after_init
which more than likely does not accept two arguments. I am not sure why you are hooking into that hook but it is not necessary for a shortcode, nor is there any obvious reason in the code.