Sanitization
-
I am working on a WordPress Plugin. I am sanitizing values using below code.
update_post_meta( $post_id, $field_name, sanitize_text_field( $field ) );
Is it correct sanitization ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Sanitization’ is closed to new replies.