[wp-hackers] hook availability

Amit Gupta wp at igeek.info
Mon Jan 9 21:23:18 GMT 2006

Robert Deaton <false.hopes at gmail.com> wrote:
|  There are really only two ways to do this right now.
|  A) Check against the version, which is stored in a file, and output
|  your messages accordingly.
|  B) Have your plugin make dummy functions to run at the hooks you want
|  to check against. On shutdown, if your functions haven't been run, 
|  know that hook isn't available in the codeflow of the page you are
|  visiting (I say this because obviously certain hooks aren't always
|  run).
ahh, wouldn't it be a good idea to have this kinda check made available
in a recent future version? I think that this type of request was made 
as well(not sure).

Amit Gupta
http://igeek.info/  ||  http://blog.igeek.info/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-hackers/attachments/20060109/3b829a6e/attachment.htm

More information about the wp-hackers mailing list