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
Post a Comment