I've tried to use the field attribute 'sanitize_callback' => 'none' as specified in the documentation to not sanitize a field. However, that does not seem to be working - can you please confirm that is the proper syntax?
I've seen one prior forum message that seems to specify using a filter so not sure if I should be using the attribute method or the filter.
I tried adding a custom function as such:
'sanitize_callback' => 'my_function' but debugging into that functions shows that the function isn't being called.
So I'm wondering if the documentation is accurate or if there's something else I need to do. Basically I want to remove all sanitization from a single instance of a textbox. I thought using 'none' on the 'sanitize_callback' field attribute would be a simple way to accomplish this but so far I cannot seem to make it work.