Home › Forums › Support › Using Hook Element for Custom Author Link on Posts This topic has 3 replies, 2 voices, and was last updated 3 years, 8 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts September 10, 2022 at 10:35 am #2339149 Stuart Hi there, I’ve realized with GP Premium I can delete Code Snippets as I’m only using it for this one here: add_filter( ‘generate_post_author_output’, function( $output ) { return ‘Author: My Name‘; } ); Can I add this code to a Hook Element like this instead? (https://imgur.com/a/ENkPJF3) Thanks! September 11, 2022 at 10:19 am #2339788 DavidStaff Customer Support Hi there, unfortunately not, a filter hook snippet needs to be added using code snippets or a child theme functions.php September 11, 2022 at 9:01 pm #2340076 Stuart I understand, thank you. September 12, 2022 at 3:13 am #2340323 DavidStaff Customer Support You’re welcome 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