卸载删除“ Rank Math”插件时顺便清理数据库相关内容

在主题的functions.php文件中添加以下代码:

/**
 * Filter to remove Rank Math data from the database
 */
add_filter( 'rank_math_clear_data_on_uninstall', '__return_true' );

然后停用Rank Math插件,与Rank Math相关的所有表将从数据库中删除。
完成该步骤后,再回到主题模板删除上述代码即可。

給TA打賞
共{{data.count}}人
人已打賞
WordPress

删除Rank Math WordPress SEO插件中显示的:This XML Sitemap is generated by Rank Math WordPress SEO Plugin

2021-3-26 3:27:44

WordPress

禁用在WordPress 5.7中添加到机器人的默认元标记

2021-3-26 4:17:24

0 Reply AAuthor MManager
    暫無討論,說說你的看法吧
搜索