Sanitizing data outside metabox context
-
Hi there.
Been using CMB for a while and recently changed to CMB2. All working wonderfully, so thanks for a great project.I was wondering how I might go about sanitizing my data outside a metabox context? Right now, I’m importing post content and meta data via .csv files which save the data to the database. I’m using some fairly rudimentary sanitization checks right now, and since I’m using CMB2 I’d like to hook in to its sanitization capabilities.
I can pass a metabox id, meta key and value but I’ve scoured the code for a function to hook into and not found one. Any help would be greatly appreciated. Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Sanitizing data outside metabox context’ is closed to new replies.