Got it to work by adding if ( 'comp' === $fields[ $i ]['use'] ) { $value = $business; }
-
This reply was modified 4 years, 2 months ago by paulryu.
-
This reply was modified 4 years, 2 months ago by paulryu.
FYI, the value I’m using is $current_user->user_registration_business which I have verified it has no issue with retrieving by replacing $email = $current_user->user_email; with it.