WordPress Hook

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ariful alam
    New Member
    • Jan 2011
    • 185

    WordPress Hook

    How to write a WordPress function/hook that run automatically after a user logged in. after some search, i found

    Code:
    do_action('wp_login', 'custom_function_name');
    but where/ in which file I have to write the custom function and above code?

    Please, help.

    Regards
Working...