Plugin info

Total downloads: 1,197
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 5/11/2009 (6077 days ago)
Added to WordPress: 4/22/2009 (16 years old)
Minimum WordPress version: 2.0
Tested up to WordPress version: 2.8
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 6077 days ago

20/100

Is WPVN Unload Hooks abandoned?

Possibly abandoned (last update 6077 days ago).

Compatibility

Requires WordPress: 2.0
Tested up to: 2.8
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

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.

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

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

  1. Listing (WordPress 2.8)

    Listing (WordPress 2.8)

  2. Simple Removing (WordPress 2.8)

    Simple Removing (WordPress 2.8)

  3. Array Removing (WordPress 2.8)

    Array Removing (WordPress 2.8)

Changelog

0.9 Initial version