Title: WPVN Unload Hooks
Author: Trân Minh-Quân
Published: <strong>April 22, 2009</strong>
Last modified: May 11, 2009

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wpvn-unload-hooks.svg)

# WPVN Unload Hooks

 By [Trân Minh-Quân](https://profiles.wordpress.org/link2caro/)

[Download](https://downloads.wordpress.org/plugin/wpvn-unload-hooks.0.9.2.zip)

 * [Details](https://wordpress.org/plugins/wpvn-unload-hooks/#description)
 * [Reviews](https://wordpress.org/plugins/wpvn-unload-hooks/#reviews)
 *  [Installation](https://wordpress.org/plugins/wpvn-unload-hooks/#installation)
 * [Development](https://wordpress.org/plugins/wpvn-unload-hooks/#developers)

 [Support](https://wordpress.org/support/plugin/wpvn-unload-hooks/)

## Description

_This plugin is destined to advanced users._

_How to use?_

You just need to activate the plugin. Nothing changes for this release. You have
now two additional functions: cr_hook_remove($hooks_to_find = array(), $exact = 
false, $display = true, $detail = false) cr_hook_list($hookname = array(), $display
= true, $detail = false) {

These functions are case-sensitive for actions/filters’ names.

The function to remove actions/filters (cr_hook_remove) you should call before the
hooked is made, or you cannot remove it. The best place is in functions.php of the
theme, or even better, directly in the plugin file ‘wpvn-unload-hooks.php’. (Be 
aware that calling in the plugin file should not print any output or you will mess
up with Response HTTP header). The function to list hooks and hooked actions/filters,
you can call anywhere you want.

_Example_

cr_hook_list(); shows you everything. cr_hook_list(‘wp_head’); shows you actions/
filters that are hooked to ‘wp_head’ cr_hook_remove(); nothing happens, lose your
time. cr_hook_remove(‘AJAX’); _All_ actions/filters have that string in their names
will be removed. cr_hook_remove(‘AJAX’, true); _All_ actions/filters have the _exact_
name ‘AJAX’ will be removed.

## Screenshots

[⌊Listing (WordPress 2.8)⌉⌊Listing (WordPress 2.8)⌉[

Listing (WordPress 2.8)

[⌊Simple Removing (WordPress 2.8)⌉⌊Simple Removing (WordPress 2.8)⌉[

Simple Removing (WordPress 2.8)

[⌊Array Removing (WordPress 2.8)⌉⌊Array Removing (WordPress 2.8)⌉[

Array Removing (WordPress 2.8)

## Installation

 1. Upload `wpvn-unload-hooks` to the `/wp-content/plugins/` directory, if you use 
    customized `wp-content`, it’s OK with WPVN Unload Hooks.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

[More about WPVN Unload Hooks](http://link2caro.net/read/wpvn-unload-hooks/)

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WPVN Unload Hooks” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Trân Minh-Quân ](https://profiles.wordpress.org/link2caro/)

[Translate “WPVN Unload Hooks” into your language.](https://translate.wordpress.org/projects/wp-plugins/wpvn-unload-hooks)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wpvn-unload-hooks/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wpvn-unload-hooks/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wpvn-unload-hooks/)
by [RSS](https://plugins.trac.wordpress.org/log/wpvn-unload-hooks/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

0.9 Initial version

## Meta

 *  Version **0.9.2**
 *  Last updated **17 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 2.0 or higher **
 *  Tested up to **2.8**
 * Tags
 * [Action](https://wordpress.org/plugins/tags/action/)[filter](https://wordpress.org/plugins/tags/filter/)
   [Hook](https://wordpress.org/plugins/tags/hook/)[link2caro](https://wordpress.org/plugins/tags/link2caro/)
   [wpvn](https://wordpress.org/plugins/tags/wpvn/)
 *  [Advanced View](https://wordpress.org/plugins/wpvn-unload-hooks/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wpvn-unload-hooks/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wpvn-unload-hooks/reviews/)

## Contributors

 *   [ Trân Minh-Quân ](https://profiles.wordpress.org/link2caro/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wpvn-unload-hooks/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://link2caro.net/donate/)