Title: remove/override a function from functions.php
Last modified: August 21, 2016

---

# remove/override a function from functions.php

 *  [Alain](https://wordpress.org/support/users/alainroger/)
 * (@alainroger)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/removeoverride-a-function-from-functionsphp/)
 * Hi,
 * how can i do to override or remove a function from the theme functions.php file?(
   because i need to redefine it in my child theme functions.php file.
 * thx.

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/removeoverride-a-function-from-functionsphp/#post-4672497)
 * you can only do this is the function is ‘pluggable’ – [http://codex.wordpress.org/Pluggable_Functions](http://codex.wordpress.org/Pluggable_Functions)
 * what theme are you using?
    what exact function do you want to overwrite?
 *  Thread Starter [Alain](https://wordpress.org/support/users/alainroger/)
 * (@alainroger)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/removeoverride-a-function-from-functionsphp/#post-4672687)
 * in fact the function is in the Adamas theme i bought.
    the function should display
   the top menu relative to woocommerce (so login/account, cart). it’s call showTop()
   in functions.php
 * i think i will just copy this function in my child theme functions.php and rename
   it in my template.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/removeoverride-a-function-from-functionsphp/#post-4672688)
 * please contact your theme’s developer for support with theme specific codes.
 * this forum can unfortunately not help with commercial themes; [http://codex.wordpress.org/Forum_Welcome#Commercial_Products](http://codex.wordpress.org/Forum_Welcome#Commercial_Products)

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

The topic ‘remove/override a function from functions.php’ is closed to new replies.

## Tags

 * [function](https://wordpress.org/support/topic-tag/function/)
 * [remove](https://wordpress.org/support/topic-tag/remove/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/removeoverride-a-function-from-functionsphp/#post-4672688)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
