Grab $_POST Variables By Key In save_post action.
-
https://gist.github.com/732629
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.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Grab $_POST Variables By Key In save_post action.’ is closed to new replies.