[wordpress插件] Disable Site Delete禁用网站删除

wordpress 插件 文章 2020-04-18 12:41 502 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Disable Site Delete plugin only allows network administrators to delete a blog/site on a WordPress Multisite network.

禁用站点删除插件仅允许网络管理员删除WordPress多站点网络上的博客/站点。

It does not allow blog owners to delete their blogs.

它不允许博客所有者删除他们的博客。

It works by doing that in 3 steps:-

它可以通过3个步骤进行操作:-

    • Removes the delete Site link from tools menu for non network admins
    • 从非网络管理员的工具菜单中删除“删除网站”链接

    • Breaks out of wpmu_delete_blog function to avoid deletion of blog
    • 违反wpmu_delete_blog函数可避免删除博客

    • hacks around option to avoid sending the delete confirmation mail to blog owner
    • hacking选项,以避免将删除确认邮件发送给博客所有者

    Need more details, please visit this post on

    需要更多详细信息,请访问

    title="Introducing Disable Site Delete plugin" rel="nofollow">BuddyDev

    title =“介绍禁用站点删除插件” rel =“ nofollow”> BuddyDev

安装步骤

    1. Download disable-site-delete.zip and extract(unzip)
    2. 下载 disable-site-delete.zip 并解压缩(解压缩)

    3. Upload disable-site-delete to the /wp-content/plugins/ directory
    4. disable-site-delete 上载到 / wp-content / plugins / 目录

    5. Network Activate the plugin through the ‘My Sites->Network Admin->Plugins’ menu in WordPress Multisite
    6. 网络通过WordPress Multisite中的“我的站点”->“网络管理”->“插件”菜单激活插件

    7. have fun!
    8. 玩得开心!

下载地址
https://downloads.wordpress.org/plugin/disable-site-delete.1.0.zip
-EOF-

AI助手支持GPT4.0