让WordPress后台媒体库支持WebP格式图片上传和显示
将以下代码添加到当前主题的 functions.php //让 WordPress 支持 WebP 格式图片上传 function bzg_filter_mime_types( $array ) { $array['webp'] = 'im...
将以下代码添加到当前主题的 functions.php //让 WordPress 支持 WebP 格式图片上传 function bzg_filter_mime_types( $array ) { $array['webp'] = 'im...
在主题的functions.php文件中添加以下代码: /** * Filter to remove Rank Math data from the database */ add_filter( 'rank_math_clear_data...
在模板functions.php文件放入任意一段代码: /** * Filter to remove sitemap credit. * * @param boolean Defaults to false. */ add_filter( ...
Settings 1. Filter to add/remove tabs in Rank Math Metabox. Use this filter to add new tabs into the Meta Box added by R...