我不希望客户因为错误而使woocommerce插件停用。最近我遇到了一个概念,叫做在wordpress中必须使用插件。(http://codex.wordpress.org/Must_使用_插件)
只是想知道是否有可能使用woocommerce作为一个必须使用插件。
发布于 2013-03-25 10:44:43
我不认为这是个好主意。
有一些带有局限性的mu-plugins:
mu-plugins文件夹的子文件夹中声明的函数一个更好的方法是不要把activate_plugins能力给你的客户。
发布于 2013-03-25 10:28:35
必须使用插件(a.k.a.是安装在内容文件夹中的一个特殊目录中的插件,在安装中的所有站点上都会自动启用这些插件。
必须使用的插件不显示在wp-admin的plugins页面中,并且不能被禁用,除非从必须使用的目录中删除插件文件,默认情况下,必须使用插件在wp-content/mu中找到。
Always-on, no need to enable via admin and users cannot disable by accident.
Can be enabled simply by uploading file to the mu-plugins directory, without having to log-in.法典
https://wordpress.stackexchange.com/questions/92244
复制相似问题