0
我想通过the_permalink过滤器,但使相对的URL它不是working.And我很困惑藿来解决这个问题,WordPress的永久链接过滤
function root_relative_permalinks($input_urls) {
return $input_urls.'?urlsnowworking=23';
}
add_filter('the_permalink','root_relative_permalinks', 10000,1);
我用上面的代码来测试,但没有运气。