I have a group with four textarea fields inside. I wish to use strip_tags() on all four to ensure no <style> or <font> tags are included which will mess up the display.
I've added 'strip_tags' into the Custom Sanitize Callback field for the Group, but when I try to save the fields, I get the following Warning:
Warning: strip_tags() expects at most 2 parameters, 4 given
Am I doing something wrong? Do I need to create a custom function to sanitize the content?
Thanks in advance