PRIORITY_NEUTRAL
PRIORITY_NEUTRAL
Default priority
remove(string $hook, callback $function_to_remove, integer $priority = self::PRIORITY_NEUTRAL) : boolean
removeAction Removes a function/method from a specified action hook.
string | $hook | The action hook to which the function to be removed is hooked. |
callback | $function_to_remove | The name of the function/method which should be removed. |
integer | $priority | Optional. The priority of the function/method (default: 10). |
Whether the function/method is removed.