Good Hook location for anything 'unregistered'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kevinmanphp
    Senior Member
    • Jul 2005
    • 389

    Good Hook location for anything 'unregistered'

    Hey guys..

    I'm making a plugin that will modify some stuff on any page an UNREGISTERED USER visits.

    Is there a hook location that is ideal for a plugin that deals only with all the pages accessed by an unregistered user? I know parse_templates is good as a 'global' hook location, but I'm trying to prevent my code from running for registered members.

    Thanks for your help.
  • Reeve of Shinra
    Senior Member
    • Sep 2001
    • 4325
    • 4.0.0

    #2
    You would probably use the global start hook and add an IF condition to the plugin so it only runs for unregistered users.
    Plan, Do, Check, Act!

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...