Hey guys,

Sorry I have been busy with my work at office and also looking for a job 
change. I have one basic doubt in WP plugin development. I was trying the 
following code in CatSync.php:

add_action("admin_menu", "CatSync_Menu");
add_action("wp_head", "headerfunction");
function headerfunction()
{
    echo "<script>alert();</script>";
}

I am expecting a script tag to be included in the header. But this does not 
seem to work. Does anyone have any suggestion?

And by the way belated Merry Christmas.

Regards,
Vaibhav 



      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. 
http://in.yahoo.com/
_______________________________________________
Mailing list: https://launchpad.net/~catsync-devs
Post to     : catsync-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~catsync-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to