php - How to fetch forms data submitted in a wordpress plugin file? -


i want submit form contains textarea wordpress plugin. don't know how. want plugin fetch $_post variable after submission of form create it. other idea setting fields. having setting fields save data in accessing them via plugin. in all, want able access setting form, input, textarea , other form elements values through wordpress plugin. know question sounds novice, couldn't find search result regarding question.

i create function in plugin , add init action hook. great time intercept $_post data , wish.

function intercept_post_data() {     // things $_post array } add_action( 'init', 'intercept_post_data' ); 

however, have option post directly plugin changing form's action point plugin file handles form processing. (i recommend first option).


Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -