Log in

View Full Version : Create variable in newthread_post_completed


tgreer
04-20-2006, 07:57 PM
Variables, even $GLOBALS['myvar'], created with a plugin at newthread_post_completed, don't seem to be accessible anywhere else.

In particular, I wish to create a variable there to be used in postbit.

What am I missing about this hook location that I cannot create global variables?

Answer: because after that hook, the code does a redirect, so any new variables you create or values you set are wiped out.