can't get wordPress's admin-post.php to work -


i've reviewed several online docs on reviewed post's on site still can't seem admin-post requests work. in admin menu constructor add following actions:

add_action('admin_post_modify_release_request', 'handle_release_posting');

with following function handler:

function handle_release_posting(){     print_r($_post);     echo "<br/>incoming:" . var_export($_post, true) . "<br/>";     ?> <div class="wrap">         <?php screen_icon(); ?>             <div class="release_response">posting response goes here.</div>         </div>         <?php  }​ 

my html form element this: " method="post"> ​

with other inputs plus...

 <input type="hidden" id='action' name="action" value="modify_release_request">       <input type="submit" value="modify release"></div>      </form> 

​ behavior on submission of request call http://joomla.tenasys.lan/wp-admin/admin-post.php

with empty page:

<html><head></head><body></body></html> ​ 

what have missed? doing wrong?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -