def METHOD_NAME(name, path, user):
    """
    Deactivate wordpress plugins
    name
        name of plugin to deactivate
    path
        path to wordpress installation
    user
        user who should own the files in the wordpress installation
    .. code-block:: yaml
        HyperDB:
          wordpress.deactivated:
            - path: /var/www/html
            - user: apache
    """
    ret = {"name": name, "changes": {}, "comment": "", "result": False}
    check = __salt__["wordpress.show_plugin"](name, path, user)
    if check["status"] == "inactive":
        ret["result"] = True
        ret["comment"] = "Plugin already deactivated: {}".format(name)
        return ret
    elif __opts__["test"]:
        ret["result"] = None
        ret["comment"] = "Plugin will be deactivated: {}".format(name)
        return ret
    resp = __salt__["wordpress.deactivate"](name, path, user)
    if resp is True:
        ret["result"] = True
        ret["comment"] = "Plugin deactivated: {}".format(name)
        ret["changes"] = {
            "old": check,
            "new": __salt__["wordpress.show_plugin"](name, path, user),
        }
    elif resp is None:
        ret["result"] = True
        ret["comment"] = "Plugin already deactivated: {}".format(name)
        ret["changes"] = {
            "old": check,
            "new": __salt__["wordpress.show_plugin"](name, path, user),
        }
    else:
        ret["comment"] = "Plugin failed to deactivate: {}".format(name)
    return ret