Title: How to undo wp_enqueue_script?
Last modified: August 20, 2016

---

# How to undo wp_enqueue_script?

 *  [Civil_777](https://wordpress.org/support/users/civil_777/)
 * (@civil_777)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/how-to-undo-wp_enqueue_script/)
 * Is there a way to un-enqueue a script that was included with wp_enqueue_scripts?
   The parent template uses wp_enqueue_scripts to include jquery, but in the child
   template, I want to use a different version of jquery. I read somewhere that 
   I am not supposed to edit the parent template directly, so I am wondering if 
   there is something I can add to the child template that will un-enqueue. Any 
   help appreciated!

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

 *  [nsathees](https://wordpress.org/support/users/nsathees/)
 * (@nsathees)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/how-to-undo-wp_enqueue_script/#post-2340327)
 * >  I read somewhere that I am not supposed to edit the parent template directly,
   > so I am wondering if there is something I can add to the child template that
   > will un-enqueue.
 * Do you know why the world love Steve Jobs and not the Bill Gates?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/how-to-undo-wp_enqueue_script/#post-2340351)
 * **[@nsathees](https://wordpress.org/support/users/nsathees/)**: If you cannot
   post anything useful, please do not post at all.
 * **[@civil_777](https://wordpress.org/support/users/civil_777/)**: See [http://codex.wordpress.org/Function_Reference/wp_dequeue_script](http://codex.wordpress.org/Function_Reference/wp_dequeue_script)
 *  Thread Starter [Civil_777](https://wordpress.org/support/users/civil_777/)
 * (@civil_777)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/how-to-undo-wp_enqueue_script/#post-2340542)
 * Great, thanks!
 * Not sure I understand the Steve Jobs comment…

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

The topic ‘How to undo wp_enqueue_script?’ is closed to new replies.

 * 3 replies
 * 3 participants
 * Last reply from: [Civil_777](https://wordpress.org/support/users/civil_777/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/how-to-undo-wp_enqueue_script/#post-2340542)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
