[wp-hackers] Re: How to redirect to login when filtered posts are empty?

Mark Jaquith mark.wordpress at txfx.net
Wed Aug 1 19:41:36 GMT 2007


On Aug 1, 2007, at 3:38 PM, David Coppit wrote:

> I wish there was a better way than setting a global, but I don't  
> see it.

Try using a lambda-style function (using create_function()).

http://php.net/create_function

--
Mark Jaquith
http://markjaquith.com/

Covered Web Services
http://coveredwebservices.com/

WordPress Ninja @ b5media Inc
http://b5media.com/




More information about the wp-hackers mailing list