I have posted the plugin which uses a custom post type of ‘did_you_know’. It is incredibly trimmed to demonstrate this issue. Essentially I cannot grab a value by key from $_POST[‘key’] but can print_r($_POST); and see it in there. I can also foreach to get the value. This is very strange behavior.
Any help is greatly appreciated.
- The topic ‘Grab $_POST Variables By Key In save_post action.’ is closed to new replies.