def METHOD_NAME(name, path, user):
    """
    Deactivate a wordpress plugin
    name
        Wordpress plugin name
    path
        path to wordpress install location
    user
        user to run the command as
    CLI Example:
    .. code-block:: bash
        salt '*' wordpress.deactivate HyperDB /var/www/html apache
    """
    check = show_plugin(name, path, user)
    if check["status"] == "inactive":
        # already inactive
        return None
    resp = __salt__["cmd.shell"](
        "wp --path={} plugin deactivate {}".format(path, name), runas=user
    )
    if "Success" in resp:
        return True
    elif show_plugin(name, path, user)["status"] == "inactive":
        return True
    return False