Title: Functions.php Hack or ??
Last modified: August 24, 2016

---

# Functions.php Hack or ??

 *  [intcon](https://wordpress.org/support/users/intcon/)
 * (@intcon)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/functionsphp-hack-or/)
 * HI all..
 * A client just asked me to remove some items from her site (designed by someone
   else) and I ran across this in the functions.php file.
    what on earth is it? 
   [http://pastebin.com/Fz9Cv9ja](http://pastebin.com/Fz9Cv9ja) the theme is WP_Premium..
 * carrie

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/functionsphp-hack-or/#post-6144109)
 * To be honest, I *do not* like the look of that. It’s not base64, I don’t know
   what it is. Maybe a function elsewhere decodes it?
 * Do you have access to fresh unmodified copy of the theme?
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 years, 12 months ago](https://wordpress.org/support/topic/functionsphp-hack-or/#post-6144111)
 * Can you share the top of that theme’s `style.css`? There’s too many theme providers
   which are not GPL friendly and I’d be interested in seeing who it is. The “WP_Premium”
   theme had hundreds of hits in a search engine.
 * I am 99.994% sure that’s from a commercial PHP obfuscater. It’s not good and 
   like all of that nonsense is meant to prevent you from modifying the code.
 *  Thread Starter [intcon](https://wordpress.org/support/users/intcon/)
 * (@intcon)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/functionsphp-hack-or/#post-6144123)
 * My apologies, I was at work.
 * here’s the top of the css file…
    [http://pastebin.com/AcQXsyPb](http://pastebin.com/AcQXsyPb)
 * i do not have access to an unmodified copy of the theme, i’m kind of being thrown
   into the deep end….trying to decipher what’s all in the code…there were so many
   ads, it’s been a challenge to hunt them all down!
 * carrie
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/functionsphp-hack-or/#post-6144127)
 * Yeah, that theme site no longer exists.
 * Perhaps it’s time for a new theme? The current theme is old enough that the site
   no longer exists, and the code is purposefully obfuscated so that you can’t modify
   it or find out what it does. If it were me, I certainly wouldn’t want to trust
   my site under that.
 * There are currently 1,886 free themes in the official directory, and absolutely
   none of them have obfuscated code (such a thing would get the theme developer
   banned from the directory).
 * [https://wordpress.org/themes/browse/popular/](https://wordpress.org/themes/browse/popular/)
 *  Thread Starter [intcon](https://wordpress.org/support/users/intcon/)
 * (@intcon)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/functionsphp-hack-or/#post-6144169)
 * she’s deleting the site, or most of it anyways, leaving only a few pages up…a
   few posts up. there’s a bunch of advertising i’m trying to get rid of for her,
   and was worried that this might be some of what’s caused her problems with all
   the ads on her site.
    I don’t mind replicating her site with a clean theme, i
   just didn’t know what the heck that was, and if it was somehow causing the advertising
   problem. thanks for looking into it!
 * carrie
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/functionsphp-hack-or/#post-6144170)
 * You’re welcome!
 * It’s not a type of obfuscation I recognize, and if the theme is using its own
   proprietary obfuscation, it’s going to be nearly impossible to figure out what
   all that is without reverse-engineering everything.
 * Obfuscation is evil, if you ever make your own themes or plugins, please don’t
   do it.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Functions.php Hack or ??’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/functionsphp-hack-or/#post-6144170)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
