PHP Question

Soldato
Joined
19 Jan 2005
Posts
2,722
Hey guys, I've got a client that uses a mailchimp form on their site. I've asked them to remove it for whatever reason but their sketchy at best replies have been that I should "go ahead and remove it".

This is despite me saying that my PHP is not even a grasp of the fundamentals but I just want to be sure that if I comment something out it won't utterly ruin the site.

jVfc8vg.png

there is obviously a bit more in this file but nothing that mentions any of these variables and I'm 95% sure nowhere else in the rest of the theme files.

Am I correct that I need to comment out everything from line 31 to 57?

Thanks
 
Associate
Joined
12 Feb 2003
Posts
897
You can either delete the whole code block or just comment out line 56.

Looks like WordPress, so leaving the function declaration is fine. It's the add_filter call that hooks that function into the_content, so just commenting out that line will prevent it from being fired.

Jim
 
Back
Top Bottom