Re: Profile Fields Questions
Yes, but your custom_xprofile call just does an “echo”. echo will always return something. Something might be a string or it might be a blank but it will always return something. You can’t test a function return value if you aren’t returning a value. Inside custom_xprofile, you need a “return TRUE” or something like that to be able ot use it in a boolean logic check that the if does.