Home › Forums › Support › hook for wp_logout This topic has 3 replies, 2 voices, and was last updated 3 years, 10 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts June 20, 2020 at 12:41 pm #1335672 Saikat Hello, If I want to write a function for Hook wp_logout then can I implement it in GP elements as Custom Hook or I have to write add_action() for wp_logout in function.php of the child theme. Regards Saikat Haldar June 20, 2020 at 5:02 pm #1335821 TomLead Developer Lead Developer Hi there, You’ll likely want to write a custom hook/filter for something like that. Elements are meant to display content on the site. Internal functionality like that should remain as custom functions. June 20, 2020 at 8:52 pm #1335904 Saikat Thanks, got it. June 21, 2020 at 10:42 am #1336522 TomLead Developer Lead Developer No problem 🙂 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In