src/WordPress/WpEventManager.php
public function detach($event, $callback, $priority = null)
    {
        $event   = $this->_normalizeEvent($event)->getName();
        $handler = $this->_getWpHandlerWrapper($event, $callback);

        $this->_removeWpHook($event, $handler, $priority);
    }
public function detach($event, $callback, $priority = null)
    {
        $event   = $this->_normalizeEvent($event)->getName();
        $handler = $this->_getWpHandlerWrapper($event, $callback);

        $this->_removeWpHook($event, $handler, $priority);
    }
{@inheritdoc}

@since [*next-version*]