Title: Changes to functions.php
Last modified: August 20, 2016

---

# Changes to functions.php

 *  Resolved [doubleinfinity](https://wordpress.org/support/users/doubleinfinity/)
 * (@doubleinfinity)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/changes-to-functionsphp/)
 * Is there a way to make changes to the functions.php file so that when my theme
   is updated I won’t need to make the changes again?
 * I require a piece of code to be removed from the (parent/original) functions.
   php file. Using a functions.php file in a child theme is great for adding new
   functions but not removing existing ones.
 * Any ideas?
 * Thanks

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

 *  [AK Ted](https://wordpress.org/support/users/akted/)
 * (@akted)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/changes-to-functionsphp/#post-3440835)
 * Unfortunately, no. But, you could ask the theme author to make their functions
   [“pluggable”](http://codex.wordpress.org/Pluggable_Functions). Basically, they
   would wrap their functions in an `if` statement, like:
 *     ```
       if( ! function_exists('some_theme_function') ) {
           function some_theme_function() {
               // function code
           }
       }
       ```
   
 * That way, you could create a function `some_theme_function` in your child theme,
   overriding the parent’s function.
 * In the mean time, just comment out each parent function that you recreate in 
   your child theme, and remember to re-comment them out each upgrade.
 *  Thread Starter [doubleinfinity](https://wordpress.org/support/users/doubleinfinity/)
 * (@doubleinfinity)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/changes-to-functionsphp/#post-3440838)
 * Great thanks.

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

The topic ‘Changes to functions.php’ is closed to new replies.

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [doubleinfinity](https://wordpress.org/support/users/doubleinfinity/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/changes-to-functionsphp/#post-3440838)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
