If I sanitize and save some meta text (called ‘message’) entered by the user like like this… update_post_meta($post_id, ‘message’, sanitize_text_field($_POST[‘message’])); …and then retrieve and …
Tag: sanitize
Php Sanitize and Validate form with some character exceptions
I’m using in Php Sanitize and Validate Filters but I have problems to add some rules, I have some basic knowledge of php so I think this question is easy for you. I need to add a minimum and maximum number of characters (14-15) and I want to accept this characters ( – or space ) .The exact sequence is