Little question about making a plugin
-
Hello, I’m making my first plugin which modify a little bit the
wp-login.php file.
I use add_actions and it’s working well.
But now I would like to launch a special function when the users came from wp-login.php?todo=myspecialfunction.So it can’t be “hooked” with add_actions, it is a sort of standalone function, but how can I add it without editing wp-login.php?
I would like to have code only in my plugin….Any idea ?I tryed to make a standalone page with my function in it (tryed in /themes/mytheme and /plugins/myplugin), but it doesn’t work because WP can’t find its functions (get_header,etc)
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Little question about making a plugin’ is closed to new replies.