[wordpress插件] Clear StatPress清除StatPress

wordpress 插件 文章 2020-03-24 16:50 576 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

我安装的statpress插件,虽然设置了不记录蜘蛛访问记录,但有些不表明身份的蜘蛛的访问数据仍然会保存,严重占用数据库空间。

Although the statpress plug-in I installed is set to not record spider access records, the access data of some spiders that do not indicate their identity will still be saved, seriously occupying database space.



登陆后台phpmyadmin太麻烦了,刚刚粗略的学习了下插件制作,写了个简单的插件,执行清理作业。

Login to the background phpmyadmin is too troublesome, I just learned the plug-in production roughly, wrote a simple plug-in, and performed the cleanup job.

DEMO:Leniy

DEMO: Leniy

" rel="nofollow">Donate link

"rel =" nofollow "> Donate link

安装步骤

    1. Copy Clear-StatPress.zip to your WordPress plugins directory, usually wp-content/plugins/ and unzip the file.

    2. 将Clear-StatPress.zip复制到您的WordPress插件目录(通常为 wp-content / plugins / )并解压缩该文件。

      It will create a wp-content/plugins/Clear-StatPress/ directory.

    3. 它将创建一个 wp-content / plugins / Clear-StatPress / 目录。

    4. Activate the plugin through the ‘Plugins’ menu in WordPress.
    5. 通过WordPress中的“插件”菜单激活插件。

    6. Follow the Clear-StatPress page under options.
    7. 遵循选项下的Clear-StatPress页面。

    8. Then, just follow the Clear-StatPress page under options.
    9. 然后,按照选项下的Clear-StatPress页面进行操作。

下载地址
https://downloads.wordpress.org/plugin/clear-statpress.zip
-EOF-

AI助手支持GPT4.0