Home › Forums › General Issues › my_acf_save_post and conditional issues › Reply To: my_acf_save_post and conditional issues
Not sure if this has anything to do with your blank screen, but getting the field values should look something like this
$field = $_POST['acf']['field_5578ce8f3ccf1'];
$field2 = $_POST['acf']['field_5578ce8f3ccf1'];
You need to use the field keys for your fields instead of the field names.
If you still get a blank screen turn on error reporting on the site so you can see why it’s dying.
define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', true);
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.