摆脱WordPress数据库上不必要的表

时间:2019-05-30 07:02:22

标签: database wordpress

在我的网站上,用户可以注册,我使用了一个插件,一些不必要的数据。 但是WordPress在wp-usermeta表中为每个用户创建了它。 我每次都必须运行此查询

DELETE FROM wp_usermeta WHERE meta_key = "first_name";
DELETE FROM wp_usermeta WHERE meta_key = "last_name";
DELETE FROM wp_usermeta WHERE meta_key = "description";
DELETE FROM wp_usermeta WHERE meta_key = "admin_color";
DELETE FROM wp_usermeta WHERE meta_key = "comment_shortcuts";
DELETE FROM wp_usermeta WHERE meta_key = "syntax_highlighting";
DELETE FROM wp_usermeta WHERE meta_key = "rich_editing";
DELETE FROM wp_usermeta WHERE meta_key = "admin_color";

有什么办法摆脱它?

0 个答案:

没有答案