该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

CC-Auto-Activate-Plugins

描述

This plugin automatically activate all Plugins from WP_PLUGIN_DIR.

Tips & Tricks

  1. You can use plugin as Must Use Plugin (you can also use CC-MU-Plugins-Loader to load it).
  2. You can exclude plugins from auto activate by using Clearcode\Auto_Activate_Plugins filter.

    add_filter( ‘Clearcode\Auto_Activate_Plugins’, function( $plugins ) {
    foreach ( [
    ‘example/plugin.php’
    ] as $plugin ) if ( isset( $plugins[ $plugin ] ) ) unset( $plugins[ $plugin ] );
    return $plugins;
    } );

屏幕截图

  • CC-Auto-Activate-Plugins - Visit the 'Plugins' to activate the plugin.

安装

From your WordPress Dashboard

  1. Go to ‘Plugins > Add New’
  2. Search for ‘CC-Auto-Activate-Plugins’
  3. Activate the plugin from the Plugin section on your WordPress Dashboard.

From WordPress.org

  1. Download ‘CC-Auto-Activate-Plugins’.
  2. Upload the ‘cc-auto-activate-plugins’ directory to ‘/wp-content/mu-plugins/’ directory using your favorite method (ftp, sftp, scp, etc…)
  3. Activate the plugin from the Plugin section on your WordPress Dashboard.

评价

2018 年 2 月 24 日
Thank you very much, I use your plugin on my server with Php 7.2.2, it works perfectly, it's very convenient to upload the plugin into the directory plugins by Sftp and due to your plugin the activation process does not take time
阅读所有1条评价

贡献者及开发者

“CC-Auto-Activate-Plugins” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「CC-Auto-Activate-Plugins」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“CC-Auto-Activate-Plugins”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.3

Release date: 25.02.2019

  • Changed composer name to: wpackagist-plugin/cc-auto-activate-plugins.

1.1.2

Release date: 25.02.2019

  • Changed composer type to: wordpress-muplugin.
  • Tested plugin to newest WordPress v5.1

1.1.1

Release date: 05.01.2018

  • Added support for composer.

1.1.0

Release date: 04.01.2018

  • Added support for WordPress core ‘activate_plugin’ function.

1.0.0

Release date: 02.01.2018

  • First stable version of the plugin.