[wp-hackers] How to send information to the plugin?

Louis McCoy louie at louiemccoy.com
Tue Jan 4 00:04:20 UTC 2011


Have you tried handling the form input by hooking into 'init'? That's
usually where I handle form data. By just setting the hook, you can have the
form post to basically any WP page successfully.

Example:

add_action('init','do_form_stuff');

function do_form_stuff(){
...do stuff...
}

Does that make sense?

-Louie

On Mon, Jan 3, 2011 at 6:50 PM, Eduardo Nordmann Bazan <
nordmannbazan at gmail.com> wrote:

> I'm making a plugin that lives inside a page and needs input from the user.
> I tried to get information from a form but without success. I think the
> problen is that the action field ot the form is not pointing to the rigth
> address.
> I haven't found any solution for it in the codex an neither making a search
> in google. Any idea?
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list