Title: Someone in inserting code into my theme function.php file.
Last modified: December 11, 2016

---

# Someone in inserting code into my theme function.php file.

 *  [oceandream](https://wordpress.org/support/users/oceandream/)
 * (@oceandream)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/someone-in-inserting-code-into-my-theme-function-php-file/)
 * Hello, can you please help me, for the past few days, someone is inserting this
   code on top of my custom theme function.php file.
 * [malicious code redacted]
    -  This topic was modified 9 years, 6 months ago by [oceandream](https://wordpress.org/support/users/oceandream/).
    -  This topic was modified 9 years, 6 months ago by [oceandream](https://wordpress.org/support/users/oceandream/).
    -  This topic was modified 9 years, 6 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).
    -  This topic was modified 9 years, 6 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/someone-in-inserting-code-into-my-theme-function-php-file/#post-8541162)
 * Remain calm and carefully follow [this guide](https://codex.wordpress.org/FAQ_My_site_was_hacked).
   When you’re done, you may want to implement some (if not all) of [the recommended security measures](https://codex.wordpress.org/Hardening_WordPress).

Viewing 1 replies (of 1 total)

The topic ‘Someone in inserting code into my theme function.php file.’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [oceandream](https://wordpress.org/support/users/oceandream/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/someone-in-inserting-code-into-my-theme-function-php-file/#post-8541162)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
