Function to remove injections in Advanced custom Fields

Asked

Viewed 12 times

0

Good morning,

Referring to the Advanced plugin custom Fields, when we create a form for the front-end, is there a function to remove injections from the post? For example:

$name = $_POST['acf']['field_9g75848fhu5g'];

I’d like something like the function mysql_real_escape_string, for example:

$name = mysql_real_escape_string($_POST['acf']['field_9g75848fhu5g']);
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.