Title: Prioritize Hooks
Author: Jon Weatherhead
Published: <strong>25 oktober 2012</strong>
Last modified: 30 december 2013

---

Sök tillägg

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

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

# Prioritize Hooks

 Av [Jon Weatherhead](https://profiles.wordpress.org/jweathe/)

[Ladda ner](https://downloads.wordpress.org/plugin/prioritize-hooks.1.2.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/prioritize-hooks/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/prioritize-hooks/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/prioritize-hooks/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/prioritize-hooks/#developers)

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

## Beskrivning

Prioritize Hooks allows the overriding of the priority of various filters and actions
hooked by plugins and themes.
 A list of non-core actions and filters registered
before the `admin_init` action will be shown in the Prioritize Hooks settings page,
with the option of overriding the priority of any that you should so wish. At the
moment, the hook cannot be changed, just the priority of that callback within its
respective hook. Note that priorities will not be overridden until the `wp_loaded`
action is run. To disabled a hook, use hyphen(-) as the priority. Leave a priority
blank to reset it.

## Skärmdumpar

 * [[
 * A sample view of the Prioritize Hooks settings page where I have overridden the
   AddCommentsAdds filter attached to `the_content` hook.

## Installation

 1. Unpack the plugin zip and upload the contents to the /wp-content/plugins/ directory.
    Alternatively, upload the plugin zip via the install screen within the WordPress
    Plugins manager
 2. Activate the plugin through the Plugins manager in WordPress
 3. Override hooks in the override page under Tools.

## Vanliga frågor

  Can I override hooks registered after admin_init?

No, not through the settings page. However, the plugin is written in a way that 
allows for a theme/plugin to call on the overriding functionality at any time.

## Recensioner

![](https://secure.gravatar.com/avatar/8afe25cdeeae07803146968adaec4c8eb01602a291f1dd4b128e51f7ae345e1d?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work in 2020](https://wordpress.org/support/topic/doesnt-work-in-2020/)󠁿

 [jcfromkc](https://profiles.wordpress.org/jcfromkc/) 6 augusti 2020

I just installed this plugin and received a bunch of error messages. I hope this
plugin gets updated. Thx

 [ Läs alla 2 betyg ](https://wordpress.org/support/plugin/prioritize-hooks/reviews/)

## Bidragsgivare och utvecklare

”Prioritize Hooks” är programvara med öppen källkod. Följande personer har bidragit
till detta tillägg.

Bidragande personer

 *   [ Jon Weatherhead ](https://profiles.wordpress.org/jweathe/)

[Översätt ”Prioritize Hooks” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/prioritize-hooks)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/prioritize-hooks/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/prioritize-hooks/) eller
prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/prioritize-hooks/)
via [RSS](https://plugins.trac.wordpress.org/log/prioritize-hooks/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 1.2

 * Added functionality for disabling hooks. use hyphen(-) as the priority.
 * Moved Prioritize Hooks under Tools
 * Updated code quality to modern WordPress standards

#### 1.1.4

 * minor code changes

#### 1.1.2

 * Added jQuery UI accordion to the settings page to tidy away the callbacks

#### 1.0.3

 * First stable version.

## Meta

 *  Version **1.2**
 *  Senast uppdaterat **12 år sedan**
 *  Aktiva installationer **10+**
 *  WordPress-version ** 3.2 eller senare **
 *  Testat upp till **3.7.41**
 *  Språk
 * [English (US)](https://wordpress.org/plugins/prioritize-hooks/)
 * Etiketter
 * [actions](https://sv.wordpress.org/plugins/tags/actions/)[filters](https://sv.wordpress.org/plugins/tags/filters/)
   [hooks](https://sv.wordpress.org/plugins/tags/hooks/)[override](https://sv.wordpress.org/plugins/tags/override/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/prioritize-hooks/advanced/)

## Betyg

 5 av 5 stjärnor.

 *  [  2 5-stjärniga recensioner     ](https://wordpress.org/support/plugin/prioritize-hooks/reviews/?filter=5)
 *  [  0 4-stjärniga recensioner     ](https://wordpress.org/support/plugin/prioritize-hooks/reviews/?filter=4)
 *  [  0 3-stjärniga recensioner     ](https://wordpress.org/support/plugin/prioritize-hooks/reviews/?filter=3)
 *  [  0 2-stjärniga recensioner     ](https://wordpress.org/support/plugin/prioritize-hooks/reviews/?filter=2)
 *  [  0 1-stjärniga recensioner     ](https://wordpress.org/support/plugin/prioritize-hooks/reviews/?filter=1)

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

[Se alla recensioner](https://wordpress.org/support/plugin/prioritize-hooks/reviews/)

## Bidragande personer

 *   [ Jon Weatherhead ](https://profiles.wordpress.org/jweathe/)

## Support

Har du något att säga? Behöver du hjälp?

 [Visa supportforum](https://wordpress.org/support/plugin/prioritize-hooks/)

## Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

 [ Donera till det här tillägget ](http://jonathanweatherhead.com)