/**
* 防止Wordpress标题中的横线“-”被转义成“& #8211;”的问题
*/
remove_filter('the_title','wptexturize');
remove_filter('wp_title','wptexturize');
remove_filter('single_post_title','wptexturize');
add_filter( 'run_wptexturize', '__return_false' );
参考:https://www.3haow.com/remove_filter-wp_title-wptexturize/

![[渲染层网络层错误] Failed to load image](https://source.it.coyis.com/wp-content/uploads/2022/11/FnXkmBiYv8Mu3cZlDmOKFzbD1qTF.png?imageView2/1/w/600/h/51#)

