[wp-hackers] AJAX in plugins and public pages

scribu scribu at gmail.com
Sun Feb 22 14:41:54 GMT 2009

On Sun, Feb 22, 2009 at 4:32 PM, Heiko Rabe <heiko.rabe at code-styling.de>wrote:

> It's much easier to implement it in this way, if core would support it:
> add_action('wp_public_post_ajax-myfunction',
> 'my_public_post_ajax_function');
> add_action('wp_public_get_ajax-myfunction',
> 'my_public_post_ajax_function');

If it get's implemented, shouldn't there be a single hook that handles both
GET and POST request like in admin_ajax.php?


More information about the wp-hackers mailing list