Displaying Elements in Function
-
Hi,
How do you correctly set the below function to display the contents of the element? as it stands now it just prints the elements name instead of the content?
function is_element_empty($element) { if(empty($element)) { return "{Billing First Name} {Billing Last Name}"; } else { return "{Billing Company}"; } }
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Displaying Elements in Function’ is closed to new replies.